I think the cursor move to 1,1 is implicit via altscreen

This commit is contained in:
Christian Rocha
2020-02-01 21:00:03 -05:00
parent f382f4db4a
commit f94701aff3

View File

@@ -17,7 +17,6 @@ type tickMsg struct{}
func main() {
termenv.AltScreen()
termenv.MoveCursor(1, 1)
defer termenv.ExitAltScreen()
err := tea.NewProgram(initialize, update, view, subscriptions).Start()
if err != nil {