diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 23:58:54 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 01:16:28 -0300 |
| commit | a3e38a8fd01c54b1fab8a7eaf225ac6147c74330 (patch) | |
| tree | a2f697389827f58bf6c6c69302b789bc770de889 /src/file_watch.zig | |
| parent | 54b0c95fc5522b5ad48d857bb0a08c253c17ece3 (diff) | |
| download | pardes-a3e38a8fd01c54b1fab8a7eaf225ac6147c74330.tar.gz pardes-a3e38a8fd01c54b1fab8a7eaf225ac6147c74330.zip | |
File, terminal, edit: undo and redo are one undoStep(back) each, as Text.step already is, and their callers (normal, builtins, edit_cmd, file_watch, ninep/ctl's pager test, test/panes) say which way
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/file_watch.zig')
| -rw-r--r-- | src/file_watch.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_watch.zig b/src/file_watch.zig index b8f9df39..33c14248 100644 --- a/src/file_watch.zig +++ b/src/file_watch.zig @@ -763,7 +763,7 @@ test "ordinary file watches still reconcile changes between open and watch" { }; try std.testing.expect(armed and watches[id] != null); try std.testing.expectEqualStrings("changed before watch\n", pane.file.?.content); - pardes.panes.File.undo(core, pane); + pardes.panes.File.undoStep(core, pane, true); try std.testing.expectEqualStrings("opened\n", pane.file.?.content); } |
