summaryrefslogtreecommitdiff
path: root/core/Jump.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Jump.zig')
-rw-r--r--core/Jump.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Jump.zig b/core/Jump.zig
index b958b30b..3b8c8d01 100644
--- a/core/Jump.zig
+++ b/core/Jump.zig
@@ -374,7 +374,7 @@ test "jump history skips an entry whose pane slot or serial is gone, leaving the
p.view().jumps.n = 2;
p.view().jumps.cur = 1;
p.view().jumps.list[1] = .{ .pane = 0, .serial = pane.serial, .line = 1, .col = 1 };
- pane.body.setRange(pane.file.?.content, 0, .{ .anchor = 1, .head = 5 }, true);
+ pane.body.setRange(p.settings.tab, pane.file.?.content, 0, .{ .anchor = 1, .head = 5 }, true);
const selected = pane.body.primaryRange(pane.file.?.content, 0);
for ([_]Loc{
.{ .pane = 15, .serial = pane.serial, .line = 1, .col = 1 },