diff options
Diffstat (limited to 'core/Jump.zig')
| -rw-r--r-- | core/Jump.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Jump.zig b/core/Jump.zig index a83b6ab4..a4ecca04 100644 --- a/core/Jump.zig +++ b/core/Jump.zig @@ -274,6 +274,10 @@ pub fn trackJump(p: *Pardes) void { /// always have, at the newest entry. pub fn jumpBy(p: *Pardes, delta: i32) void { const v = p.view(); + // A reading pane's walk first (pick-ui SPEC ยง6.4). Past its newest + // step, Ctrl-i is to step the Walk queue once the pickers make one; + // until then, the jump list's. + if (pardes.Trail.walkBy(p, v.active, delta)) return; const older = delta < 0; // At an end of the list: said, not a step that silently does nothing. if (v.jumps.n == 0 or (older and v.jumps.cur == 0) or (!older and v.jumps.cur + 1 >= v.jumps.n)) |
