diff --git a/go-sh-manymanuals.go b/go-sh-manymanuals.go index c24c1f5..5f871fe 100644 --- a/go-sh-manymanuals.go +++ b/go-sh-manymanuals.go @@ -115,7 +115,7 @@ func main() { os.Exit(0) } - p := tea.NewProgram(initialModel()) + p := tea.NewProgram(initialModel(), tea.WithAltScreen()) if err := p.Start(); err != nil { fmt.Printf("Alas, there's been an error: %v", err) os.Exit(1)