From 1d0868bd976b84954cfa2a78ff0e01267203c2de Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 21 May 2024 20:20:20 +0200 Subject: scroll fix --- src/e_keys.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/e_keys.go b/src/e_keys.go index aeca0b6..620a413 100644 --- a/src/e_keys.go +++ b/src/e_keys.go @@ -189,6 +189,7 @@ func e_normal_events(data *HardData, ui *HardUI, event tcell.EventKey) bool { ui.insert_method = INSERT_EDIT ui.insert_sel = INS_PROTOCOL ui.insert_sel_ok = false + ui.insert_scroll = 0 } else if event.Key() == tcell.KeyCtrlR { e_reload_data(data) } else if event.Rune() == 'm' || -- cgit v1.2.3