diff options
author | Joop Kiefte <ikojba@gmail.com> | 2020-09-14 10:01:30 +0200 |
---|---|---|
committer | Joop Kiefte <ikojba@gmail.com> | 2020-09-14 10:01:30 +0200 |
commit | fa1977a458fc8ef157d6d581ddeb0a7bca3b5355 (patch) | |
tree | 38ea0fd2396a539acb09ef65640c201d6da0ad36 | |
parent | 16f8079f83bf770038c71e88b17b83ca6b17edbd (diff) |
keep the score etc on screen after playingv0.3.2
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ func main() { term.RawMode(t) defer t.Restore() - defer ppos(0, 0, "\033[2J") // Clear screen and back to 0,0 + defer pos(23, 0) // Set the cursor to just below the playing field t.SetReadTimeout(time.Second / 1000) |