aboutsummaryrefslogtreecommitdiffstats
path: root/i_events.go
diff options
context:
space:
mode:
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 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