summaryrefslogtreecommitdiff
path: root/test/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/panes.zig')
-rw-r--r--test/panes.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/panes.zig b/test/panes.zig
index 04769ccf..fb973ea2 100644
--- a/test/panes.zig
+++ b/test/panes.zig
@@ -1153,7 +1153,7 @@ test "terminal edits and undo survive partial history clearing and whole-screen
try std.testing.expectEqualStrings("edit one\nedit two", snapshot.ovl.?.text);
}
try std.testing.expectEqual(@as(usize, 2), pardes.Term.emulatorOf(pane.terminal.?).vt.screens.active.pages.countTrackedPins());
- try pardes.edit.undoStep(p, &pane.body, true);
+ try pardes.edit.undoStep(p.editor(), &pane.body, true);
try std.testing.expectEqualStrings("edit one\nedit two", pane.ovl.?.text);
try std.testing.expectEqual(expected, pane.ovl.?.row);
}