Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
issue: #451
Browse files Browse the repository at this point in the history
cmd/snapctl/task.go: erase from cursor to bottom before printFields()
  • Loading branch information
marcin-krolik committed Dec 4, 2015
1 parent 78e113b commit 823d35c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/snapctl/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ func watchTask(ctx *cli.Context) {
case "metric-event":
sort.Sort(e.Event)
for _, event := range e.Event {
fmt.Printf("\033[0J")
printFields(w, false, 0,
event.Namespace,
event.Data,
Expand Down

0 comments on commit 823d35c

Please sign in to comment.