diff options
| author | ewy <ewy0@protonmail.com> | 2026-05-02 19:14:02 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-05-02 19:14:02 +0200 |
| commit | 45847dc53ec51c090175d8621711250b60b28263 (patch) | |
| tree | 167f836037a75f441a1f2bdc53dbab096cd2806a /menu/menu.go | |
| parent | d1633e905a1487e8845088c03db8faf53d587e46 (diff) | |
initialize altscreen properly
Diffstat (limited to 'menu/menu.go')
| -rw-r--r-- | menu/menu.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/menu/menu.go b/menu/menu.go index b524d95..2593d15 100644 --- a/menu/menu.go +++ b/menu/menu.go @@ -15,8 +15,7 @@ func Show(st *model.State, hydrators []model.Modder) (*Model, error) { return nil, NoSourcesIndexedError } md := NewModel(st, hydrators) - var opts []tea.ProgramOption - program := tea.NewProgram(md, opts...) + program := tea.NewProgram(md) resultModel, err := program.Run() if err != nil { return nil, err |
