Skip to content

Commit

Permalink
cursorUp() again
Browse files Browse the repository at this point in the history
Signed-off-by: Raphaël Pinson <[email protected]>
  • Loading branch information
raphink committed Feb 22, 2024
1 parent 97ab06d commit 5b2b89e
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 @@ -367,9 +367,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 5b2b89e

Please sign in to comment.