Browse Source

Clear rest of the screen after printing

master
Elis Hirwing 4 years ago
parent
commit
a8e114c136
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 2
      main.go

2
main.go

@ -38,6 +38,8 @@ func main() {
tm.Print(row + "\033[K\n")
}
tm.Print("\033[J")
tm.Flush()
time.Sleep(time.Second / 10)

Loading…
Cancel
Save