---
I am missing from other IRC clients, so I hope this feature is
acceptable for senpai.
Never wrote go before, so it's possible I am missing something obvious
here.
app.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app.go b/app.go
index 2b0ba82..956c89e 100644
--- a/app.go
+++ b/app.go
@@ -513,6 +513,7 @@ func (app *App) handleKeyEvent(ev *tcell.EventKey) {
}
case tcell.KeyBacktab:
ok := app.win.InputAutoComplete(-1)
+
if ok {
app.typing()
}
@@ -535,6 +536,8 @@ func (app *App) handleKeyEvent(ev *tcell.EventKey) {
app.win.ScrollDownHighlight()
case 'p':
app.win.ScrollUpHighlight()
+ case '1', '2', '3', '4', '5', '6', '7', '8', '9':
+ app.win.GoToBufferNo(int(ev.Rune()-'0') - 1)
}
} else {
app.win.InputRune(ev.Rune())
--
2.34.0