Browse Source

Hide the cursor and render more often

master
Elis Hirwing 2 years ago
parent
commit
4e925bdb31
Signed by: etu <elis@hirwing.se> GPG Key ID: D57EFA625C9A925F
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      statusscreen.go

+ 2
- 1
statusscreen.go View File

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