diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-16 23:19:12 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | 639a2a7931394742af2a2e6f02006fdfd4dd6052 (patch) | |
| tree | 664284d5f5cdf597f4a8979598ed1b35a7a1d958 /test | |
| parent | 2ab8acae32ea4f1a0988f2f1f0841f7e7ac99e93 (diff) | |
| download | pardes-639a2a7931394742af2a2e6f02006fdfd4dd6052.tar.gz pardes-639a2a7931394742af2a2e6f02006fdfd4dd6052.zip | |
text: a terminal's edit overlay and its undo are the Text's: EditBuffer, Snapshot and history_max move from terminal.zig into Text.zig, as they are, so Text names no terminal type (terminal.zig and panes.zig's ovl name them there, as test/panes.zig does); a move, nothing else
Diffstat (limited to 'test')
| -rw-r--r-- | test/panes.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/panes.zig b/test/panes.zig index 732a2534..001441a8 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -1147,7 +1147,7 @@ test "terminal edits and undo survive partial history clearing and whole-screen try std.testing.expectEqual(expected + 1, pane.body.cur_row); try std.testing.expectEqual(expected, pane.body.vsel.row); } - for ([_]panes.terminal.Snapshot{ pane.body.ed_undo[0], pane.body.ed_redo[0] }) |snapshot| { + for ([_]panes.Text.Snapshot{ pane.body.ed_undo[0], pane.body.ed_redo[0] }) |snapshot| { try std.testing.expectEqual(expected, snapshot.ovl.?.row); try std.testing.expectEqual(expected + 1, snapshot.cur_row); try std.testing.expectEqualStrings("edit one\nedit two", snapshot.ovl.?.text); |
