diff options
Diffstat (limited to '')
-rw-r--r-- | c_litems.go | 1 | ||||
-rw-r--r-- | i_events.go | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/c_litems.go b/c_litems.go index 5640b5e..e1fef34 100644 --- a/c_litems.go +++ b/c_litems.go @@ -181,7 +181,6 @@ func (litems *ItemsList) inc(jump int) { return } litems.curr = new_item - // FIX: still will select the last } func (item *ItemsNode) folded_parents() bool { 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 |