summaryrefslogtreecommitdiff
path: root/core/Jump.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Jump.zig')
-rw-r--r--core/Jump.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Jump.zig b/core/Jump.zig
index 6d12495e..26b3c4d9 100644
--- a/core/Jump.zig
+++ b/core/Jump.zig
@@ -267,7 +267,7 @@ pub fn jumpBy(p: *Pardes, delta: i32) void {
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))
- return p.setMessage(v.active, if (older) "Back: nothing further back" else "Forward: nothing further on");
+ return p.setMessage(.at(v.active), if (older) "Back: nothing further back" else "Forward: nothing further on");
var next = if (older) v.jumps.cur - 1 else v.jumps.cur + 1;
// A terminal or a scratch has no file to keep to: the step is global.
if (p.panes[v.active]) |here| if (Pardes.recentPlace(here)) |place| if (place.path.len > 0) {
@@ -298,7 +298,7 @@ pub fn jumpBy(p: *Pardes, delta: i32) void {
// stuck on one that cannot open.
if (found == null or !Pardes.recentKeeps(p.tape, found.?.path)) {
var said: Kind.Buf(recent_path_cap + 32) = .{};
- if (found) |e| p.setMessage(v.active, said.print("{s}: deleted, skipped", .{e.path[0..@min(e.path.len, recent_path_cap)]}));
+ if (found) |e| p.setMessage(.at(v.active), said.print("{s}: deleted, skipped", .{e.path[0..@min(e.path.len, recent_path_cap)]}));
const hash = j.path_hash;
var w: usize = 0;
var cur = v.jumps.cur;