summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Pham <keevan.pham@gmail.com>2022-10-14 17:16:42 +1100
committerMaas Lalani <maas@lalani.dev>2022-10-18 16:31:21 -0400
commit57c8c90bfd4a42c1bc58188c57cb39727c3f05d8 (patch)
tree9b59d639c4444f3d777109a03bad040f92a4771a
parent7a32dd579bc8c4f2c90cf7da0efb26cf678e7c5e (diff)
feat(choose): use `tab` to toggle selection
Resolves #200
-rw-r--r--choose/choose.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/choose/choose.go b/choose/choose.go
index e22285b..c7432d8 100644
--- a/choose/choose.go
+++ b/choose/choose.go
@@ -110,7 +110,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
m.aborted = true
m.quitting = true
return m, tea.Quit
- case " ", "x":
+ case " ", "tab", "x":
if m.limit == 1 {
break // no op
}