From b285e7ccdc3c7d87f8743e3b36410fa4074585b8 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 10 May 2024 20:20:20 +0200 Subject: i know very well it aint right but hey cut me some slack ok im doing myy best here --- src/e_keys.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() == ' ' || -- cgit v1.2.3