From 0dd0d40bfa6cad98872956c276d643b9e4166508 Mon Sep 17 00:00:00 2001 From: citrons Date: Sat, 7 Jun 2025 14:57:28 -0500 Subject: fix number key bug --- client/ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3