forked from varia/go-sh-manymanuals
use full screen mode
This commit is contained in:
parent
e33603ecdf
commit
dc09d8c1a5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user