diff options
author | Joe <rbo@gmx.us> | 2024-01-10 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-10 20:20:20 +0100 |
commit | 833930892f9b2ace553cea3d8b60ecd878dd019a (patch) | |
tree | a7587ecc4199c8ee6828b512155b04346bfc8a00 /i_events.go | |
parent | time to cleanup a bit (diff) | |
download | hardflip-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 '')
-rw-r--r-- | i_events.go | 4 |
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 |