mirror of
https://github.com/skoelle/kctl-tui.git
synced 2026-09-17 20:10:24 +00:00
Disable Bubbles list filter to prevent stuck filter state
The / filter in the list component captured keystrokes after returning from tmux, showing random text like 'cc' and blocking cursor navigation. Filtering is not needed for the 3-level context/team/namespace flow.
This commit is contained in:
@@ -50,6 +50,7 @@ func newFullModel() *fullModel {
|
|||||||
l := list.New(nil, list.NewDefaultDelegate(), 0, 0)
|
l := list.New(nil, list.NewDefaultDelegate(), 0, 0)
|
||||||
l.Title = "kctl-tui"
|
l.Title = "kctl-tui"
|
||||||
l.SetShowStatusBar(false)
|
l.SetShowStatusBar(false)
|
||||||
|
l.SetFilteringEnabled(false)
|
||||||
return &fullModel{list: l}
|
return &fullModel{list: l}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ func newPanelModel(context, ns, team string) *panelModel {
|
|||||||
|
|
||||||
l := list.New(nil, list.NewDefaultDelegate(), 0, 0)
|
l := list.New(nil, list.NewDefaultDelegate(), 0, 0)
|
||||||
l.SetShowStatusBar(false)
|
l.SetShowStatusBar(false)
|
||||||
|
l.SetFilteringEnabled(false)
|
||||||
|
|
||||||
m := &panelModel{context: context, ns: ns, team: team, cfg: cfg, step: stepEnvMenu, list: l, input: ti}
|
m := &panelModel{context: context, ns: ns, team: team, cfg: cfg, step: stepEnvMenu, list: l, input: ti}
|
||||||
if loadErr != nil {
|
if loadErr != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user