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
No known key found for this signature in database
GPG Key ID: D6CC7A16E5878018
1 changed files with 0 additions and 1 deletions

View File

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