✨ feat(ui): full-screen mode
This commit is contained in:
parent
c915314647
commit
6db2cbae9f
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -152,7 +152,7 @@ func (m menu) View() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
p := tea.NewProgram(initialModel())
|
p := tea.NewProgram(initialModel(), tea.WithAltScreen())
|
||||||
|
|
||||||
if _, err := p.Run(); err != nil {
|
if _, err := p.Run(); err != nil {
|
||||||
fmt.Printf("There's been an error: %v", err)
|
fmt.Printf("There's been an error: %v", err)
|
||||||
|
|
Loading…
Reference in a new issue