diff options
Diffstat (limited to 'core/Jump.zig')
| -rw-r--r-- | core/Jump.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Jump.zig b/core/Jump.zig index a83b6ab4..4a7c1e40 100644 --- a/core/Jump.zig +++ b/core/Jump.zig @@ -158,7 +158,7 @@ const JumpsTest = struct { try out.print("{s}{c}{d}", .{ if (out.end > 0) " " else "", letters[which], pane.body.cur_row + 1 }); } else return error.NoEnd; const pane = t.p.panes[t.p.view().active].?; - const said = pane.msg[0..pane.msg_len]; + const said = t.p.messages.saidBy(pane); try std.testing.expect(std.mem.indexOf(u8, said, if (delta < 0) "nothing further back" else "nothing further on") != null); return out.buffered(); } |
