diff options
-rw-r--r-- | src/e_keys.go | 6 |
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() == ' ' || |