use full screen mode

This commit is contained in:
decentral1se 2022-07-13 23:40:52 +02:00
parent e33603ecdf
commit dc09d8c1a5
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410

View File

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