aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-03-27 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-03-27 20:20:20 +0100
commit2c1b71713c7406c34ef6b1d75dff3f003d0a616b (patch)
tree3a39af0d49bf933cb8d64845861a0354e4ede3ec
parentgo (diff)
downloadhardflip-2c1b71713c7406c34ef6b1d75dff3f003d0a616b.tar.gz
hardflip-2c1b71713c7406c34ef6b1d75dff3f003d0a616b.tar.bz2
hardflip-2c1b71713c7406c34ef6b1d75dff3f003d0a616b.tar.xz
hardflip-2c1b71713c7406c34ef6b1d75dff3f003d0a616b.tar.zst
hardflip-2c1b71713c7406c34ef6b1d75dff3f003d0a616b.zip
k
-rw-r--r--src/i_events.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i_events.go b/src/i_events.go
index 3e1b810..0c9c968 100644
--- a/src/i_events.go
+++ b/src/i_events.go
@@ -559,7 +559,8 @@ func i_events(data *HardData) {
data.insert = nil
ui.buff = ""
} else if event.Rune() == 'j' ||
- event.Key() == tcell.KeyDown {
+ event.Key() == tcell.KeyDown ||
+ event.Key() == tcell.KeyTab {
if data.ui.insert_sel < data.ui.insert_sel_max {
data.ui.insert_sel += 1
}