summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2025-06-07 14:57:28 -0500
committercitrons <citrons@mondecitronne.com>2025-06-07 16:02:18 -0500
commit0dd0d40bfa6cad98872956c276d643b9e4166508 (patch)
treeddb245d7b35480de6a6f300a672f8ecdf625cab1
parent855e61c53c8a401c6f0be84a63808cb94cb19903 (diff)
fix number key bug
-rw-r--r--client/ui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/ui.go b/client/ui.go
index d3692ce..65983c3 100644
--- a/client/ui.go
+++ b/client/ui.go
@@ -50,7 +50,7 @@ func (a *application) onInput(ev tui.Event) {
prompt.Input().Update(ev)
wm := ev.Key.WithoutMods()
- if wm > '0' && wm <= '9' {
+ if wm > '0' && wm <= '9' && ev.Key & keys.Alt != 0 {
i := wm - '1'
if int(i) < len(a.channelList) {
a.goTo(a.channelList[i].location)