summaryrefslogtreecommitdiff
path: root/src/body_layer.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/body_layer.zig')
-rw-r--r--src/body_layer.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/body_layer.zig b/src/body_layer.zig
index 26513b93..6748c161 100644
--- a/src/body_layer.zig
+++ b/src/body_layer.zig
@@ -466,7 +466,7 @@ pub fn renderBody(p: *Pardes, s: *Surface, arena: std.mem.Allocator, pane: *Pane
// `gw`'s labels, two letters over the start of each word
if (pane.jump.items.len > 0) labels: {
- const flat = edit.flatSurface(p, &pane.body) catch break :labels;
+ const flat = edit.flatSurface(p.editor(), &pane.body) catch break :labels;
const letters = config.jump_label_alphabet;
const style: CellStyle = .{ .fg = .{ .rgb = th.sel_fg }, .bg = .{ .rgb = th.sel_bg }, .bold = true };
for (pane.jump.items, 0..) |word, i| {