From dc09d8c1a5cab383fbd7371a849ca7ec8d4ef1b5 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Wed, 13 Jul 2022 23:40:52 +0200 Subject: [PATCH] use full screen mode --- go-sh-manymanuals.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)