From fa1977a458fc8ef157d6d581ddeb0a7bca3b5355 Mon Sep 17 00:00:00 2001 From: Joop Kiefte Date: Mon, 14 Sep 2020 10:01:30 +0200 Subject: keep the score etc on screen after playing --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') 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) -- cgit v1.2.3-70-g09d2