Browse Source

Hide the cursor and render more often

master
Elis Hirwing 4 years ago
parent
commit
4e925bdb31
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 3
      statusscreen.go

3
statusscreen.go

@ -18,6 +18,7 @@ func main() {
weather := statusscreen.Weather{Config: &config}
tm.Clear()
tm.Print("\033[?25l")
for {
tm.MoveCursor(1, 1)
@ -40,7 +41,7 @@ func main() {
tm.Flush()
time.Sleep(1 * time.Second)
time.Sleep(time.Second / 10)
}
}

Loading…
Cancel
Save