feat(choose): add ctrl+@ keybinding

This commit is contained in:
MuXiu1997 2023-02-09 03:02:09 +08:00
parent 39848f84a3
commit 0c86241440
No known key found for this signature in database
GPG key ID: FF066B943A937BD1

View file

@ -116,7 +116,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
m.aborted = true
m.quitting = true
return m, tea.Quit
case " ", "tab", "x":
case " ", "tab", "x", "ctrl+@":
if m.limit == 1 {
break // no op
}