summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 2378b8c..2e9c799 100644
--- a/main.go
+++ b/main.go
@@ -148,9 +148,9 @@ func watch(d time.Duration) {
if len(line) > 70 {
line = line[:67] + "..."
}
- fmt.Fprintf(os.Stderr, "\r%-70s", line)
+ fmt.Fprintf(os.Stderr, "%-70s\r", line)
case jobs := <-done:
- fmt.Fprintf(os.Stderr, "\r%-70s\n", "done")
+ fmt.Fprintf(os.Stderr, "%-70s\n", "done")
s := newSortHelper(jobs)
sort.Sort(s)
for _, job := range s.StringSlice {