diff --git a/cmd/snapctl/task.go b/cmd/snapctl/task.go index f6b04063f..f6697ede2 100644 --- a/cmd/snapctl/task.go +++ b/cmd/snapctl/task.go @@ -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,