Hide the cursor and render more often

master
Elis Hirwing 6 years ago
parent 8f06b860fa
commit 4e925bdb31
Signed by: etu
GPG Key ID: D57EFA625C9A925F

@ -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