Renames to fix clashes with reserved words.

This commit is contained in:
Martin Smith
2025-02-28 20:00:40 +00:00
parent 3788605127
commit f238f81ba6
6 changed files with 25 additions and 25 deletions

View File

@@ -82,10 +82,10 @@ func printProgress(status string, final bool) {
}
}
var carriageControl, clear string
var carriageControl, cl string
if canUpdateStatus {
clear = clearLine(w)
cl = clearLine(w)
}
if !(strings.HasSuffix(status, "\r") || strings.HasSuffix(status, "\n")) {
@@ -96,7 +96,7 @@ func printProgress(status string, final bool) {
}
}
_, _ = os.Stdout.Write([]byte(clear + status + carriageControl))
_, _ = os.Stdout.Write([]byte(cl + status + carriageControl))
if final {
_, _ = os.Stdout.Write([]byte("\n"))
}