aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-05-21 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-05-21 20:20:20 +0200
commit1d0868bd976b84954cfa2a78ff0e01267203c2de (patch)
treeb808349d4a84f85e80a9866e71bc1ea37e2f6401
parentbetter screen (diff)
downloadhardflip-1d0868bd976b84954cfa2a78ff0e01267203c2de.tar.gz
hardflip-1d0868bd976b84954cfa2a78ff0e01267203c2de.tar.bz2
hardflip-1d0868bd976b84954cfa2a78ff0e01267203c2de.tar.xz
hardflip-1d0868bd976b84954cfa2a78ff0e01267203c2de.tar.zst
hardflip-1d0868bd976b84954cfa2a78ff0e01267203c2de.zip
scroll fix
-rw-r--r--src/e_keys.go1
1 files changed, 1 insertions, 0 deletions
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' ||