aboutsummaryrefslogtreecommitdiffstats
path: root/i_events.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-10 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-10 20:20:20 +0100
commit833930892f9b2ace553cea3d8b60ecd878dd019a (patch)
treea7587ecc4199c8ee6828b512155b04346bfc8a00 /i_events.go
parenttime to cleanup a bit (diff)
downloadhardflip-833930892f9b2ace553cea3d8b60ecd878dd019a.tar.gz
hardflip-833930892f9b2ace553cea3d8b60ecd878dd019a.tar.bz2
hardflip-833930892f9b2ace553cea3d8b60ecd878dd019a.tar.xz
hardflip-833930892f9b2ace553cea3d8b60ecd878dd019a.tar.zst
hardflip-833930892f9b2ace553cea3d8b60ecd878dd019a.zip
clean after why slow
Diffstat (limited to 'i_events.go')
-rw-r--r--i_events.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/i_events.go b/i_events.go
index 372623e..8f2c675 100644
--- a/i_events.go
+++ b/i_events.go
@@ -208,9 +208,9 @@ func i_events(data *HardData) {
event.Key() == tcell.KeyUp {
data.litems.inc(-1)
} else if event.Key() == tcell.KeyCtrlD {
- data.litems.inc(+(ui.dim[H] / 3))
+ data.litems.inc(+1000 + (ui.dim[H] / 3))
} else if event.Key() == tcell.KeyCtrlU {
- data.litems.inc(-(ui.dim[H] / 3))
+ data.litems.inc(-1000 - (ui.dim[H] / 3))
} else if event.Rune() == 'g' {
data.litems.curr = data.litems.head
data.litems.draw_start = data.litems.head