From cb4ff09b13d9b4842dd5ac4668d0ce68a4f40355 Mon Sep 17 00:00:00 2001 From: Raphael 'kena' Poss Date: Thu, 25 Aug 2022 19:14:52 +0200 Subject: [PATCH] Fix 1-indexing when entering alt screen --- tea.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tea.go b/tea.go index f25d55f..23d8cb7 100644 --- a/tea.go +++ b/tea.go @@ -635,7 +635,7 @@ func (p *Program) EnterAltScreen() { } p.output.AltScreen() - p.output.MoveCursor(0, 0) + p.output.MoveCursor(1, 1) p.altScreenActive = true if p.renderer != nil {