make sure to use alt screen

This commit is contained in:
Robin Olsen
2026-03-18 14:31:36 +01:00
parent 3e9a903506
commit 2ebb8be83b
2 changed files with 3 additions and 13 deletions

View File

@@ -82,5 +82,7 @@ func (r *RootModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
}
func (r *RootModel) View() tea.View {
return r.currentView.View()
v := r.currentView.View()
v.AltScreen = true
return v
}