Fix 1-indexing when entering alt screen

This commit is contained in:
Raphael 'kena' Poss
2022-08-25 19:14:52 +02:00
committed by Christian Muehlhaeuser
parent 6c449e55bf
commit cb4ff09b13

2
tea.go
View File

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