diff options
author | Joe <rbo@gmx.us> | 2024-01-09 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-09 20:20:20 +0100 |
commit | 4605f564165fcd3d9afd3095c2be1e4c5e4c7609 (patch) | |
tree | 8d7d08c16ec789aa7cd3272fd560792ce13b9ab6 /i_events.go | |
parent | fix (diff) | |
download | hardflip-4605f564165fcd3d9afd3095c2be1e4c5e4c7609.tar.gz hardflip-4605f564165fcd3d9afd3095c2be1e4c5e4c7609.tar.bz2 hardflip-4605f564165fcd3d9afd3095c2be1e4c5e4c7609.tar.xz hardflip-4605f564165fcd3d9afd3095c2be1e4c5e4c7609.tar.zst hardflip-4605f564165fcd3d9afd3095c2be1e4c5e4c7609.zip |
good
Diffstat (limited to 'i_events.go')
-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 9989d2a..4da2b3d 100644 --- a/i_events.go +++ b/i_events.go @@ -133,9 +133,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 |