Skip to content

Commit

Permalink
cursorUp() again
Browse files Browse the repository at this point in the history
Signed-off-by: Raphaël Pinson <raphael@isovalent.com>
  • Loading branch information
raphink authored and michi-covalent committed Feb 28, 2024
1 parent f83a64e commit aa40213
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions status/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,7 @@ func (k *K8sStatusCollector) Status(ctx context.Context) (*Status, error) {
continue
}

for i := 1; i < lines; i++ {
fmt.Print("\033[A\033[2K")
}
cursorUp(lines)
return mostRecentStatus, nil
}
}
Expand Down

0 comments on commit aa40213

Please sign in to comment.