aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-05-10 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-05-10 20:20:20 +0200
commitb285e7ccdc3c7d87f8743e3b36410fa4074585b8 (patch)
treeced74c126de7c0a1f1adb6e59f4980fe276e504e
parentgood (diff)
downloadhardflip-b285e7ccdc3c7d87f8743e3b36410fa4074585b8.tar.gz
hardflip-b285e7ccdc3c7d87f8743e3b36410fa4074585b8.tar.bz2
hardflip-b285e7ccdc3c7d87f8743e3b36410fa4074585b8.tar.xz
hardflip-b285e7ccdc3c7d87f8743e3b36410fa4074585b8.tar.zst
hardflip-b285e7ccdc3c7d87f8743e3b36410fa4074585b8.zip
i know very well it aint right but hey cut me some slack ok im doing myy best here
-rw-r--r--src/e_keys.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/e_keys.go b/src/e_keys.go
index 966fabb..667ba3d 100644
--- a/src/e_keys.go
+++ b/src/e_keys.go
@@ -438,7 +438,11 @@ func e_insert_events(data *HardData, ui *HardUI, event tcell.EventKey) bool {
event.Rune() == 'l' ||
event.Key() == tcell.KeyRight {
ui.insert_sel = ui.insert_sel_max
- // FIX: should scroll at some point
+ for data.ui.insert_butt == false {
+ ui.insert_scroll += 2
+ i_draw_insert_panel(&data.ui, data.insert, data.home_dir)
+ data.ui.s.Show()
+ }
} else if event.Rune() == 'i' ||
event.Rune() == 'a' ||
event.Rune() == ' ' ||