feat: Update 2 files
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 42s
Build-Test-Publish / build (linux/arm64) (push) Successful in 1m5s

This commit is contained in:
j842
2025-09-04 15:31:37 +12:00
parent 233285343a
commit 620fb2406c
2 changed files with 2 additions and 0 deletions

View File

@@ -339,6 +339,7 @@ complete -F _dropshell_completions ds
info << "Current version: " << currentver << std::endl;
info << "Checking for updates..." << std::endl;
// Check version using the /version endpoint
// The simple-object-server returns JSON: {"result":"success","version":"YYYY.MMDD.HHMM"}
std::string version_url = "https://getbin.xyz/version/dropshell:latest-" + arch;

View File

@@ -76,6 +76,7 @@ namespace dropshell
{
dest_ << RESET;
at_line_start_ = true;
dest_ << std::flush;
}
return c;
}