mirror of
https://github.com/charmbracelet/gum
synced 2024-06-15 20:15:08 +02:00
feat(filter): add ctrl+@ keybinding
This commit is contained in:
parent
78bb3b5f06
commit
39848f84a3
|
@ -163,6 +163,11 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||
}
|
||||
m.ToggleSelection()
|
||||
m.CursorUp()
|
||||
case "ctrl+@":
|
||||
if m.limit == 1 {
|
||||
break // no op
|
||||
}
|
||||
m.ToggleSelection()
|
||||
default:
|
||||
m.textinput, cmd = m.textinput.Update(msg)
|
||||
|
||||
|
|
Loading…
Reference in a new issue