mirror of
https://github.com/mrusme/neonmodem.git
synced 2024-11-03 04:27:16 -05:00
Fix #52, ignore n
shortcut when filtering
This commit is contained in:
parent
13e02f85ae
commit
e5bf7e4c42
@ -109,6 +109,10 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
}
|
||||
|
||||
case key.Matches(msg, m.keymap.NewPost):
|
||||
if m.list.FilterState() == list.Filtering {
|
||||
break
|
||||
}
|
||||
|
||||
i, ok := m.list.SelectedItem().(post.Post)
|
||||
if ok {
|
||||
caps := (*m.ctx.Systems[i.SysIDX]).GetCapabilities()
|
||||
|
Loading…
Reference in New Issue
Block a user