aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 26ffd17..b075825 100644
--- a/main.go
+++ b/main.go
@@ -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)