summaryrefslogtreecommitdiff
path: root/src/Core.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 04:15:28 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commit3e2ffcccdf11258ec0339d654166c291ef9edc0e (patch)
tree1f3a8de945e1e373bc64d515fb2c37f7dcfa60bc /src/Core.zig
parent34641e435fcbae0af578189760d5ebb05bc07f9a (diff)
downloadpardes-3e2ffcccdf11258ec0339d654166c291ef9edc0e.tar.gz
pardes-3e2ffcccdf11258ec0339d654166c291ef9edc0e.zip
ansi: the command pane's diff colours beside the terminal's (docs/next-terminal.md, Phase 1; reports/diff-module.md, question 3, the user: "keep it but make it close in code to the pager so they're together"): File.DiffOutput and File.recolorDiffOutput move, as they are, from File.zig to src/ansi.zig, where the terminal's painted cells are laid over the body, so the colours a finished command pane's diff is given sit beside the colours its program gave it; body_layer calls ansi.recolorDiffOutput after ansi.recolor as it called File's; File.synStyle and File.SynStyle become pub for it (File's own recolorSyntax still the other caller); Core's diff_output is an ansi.DiffOutput; nothing else changes; core-test 810 of 949 (139 skipped), process-test's diffview and diffstack goldens unchanged (the suite's other failures the base's: lspcomplete, lspcompletemoved; exec once under load, passing on its retry)
Diffstat (limited to 'src/Core.zig')
-rw-r--r--src/Core.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core.zig b/src/Core.zig
index 7c550d74..ecfd8fa7 100644
--- a/src/Core.zig
+++ b/src/Core.zig
@@ -399,8 +399,8 @@ frame_arena: std.heap.ArenaAllocator,
/// for — see edit.RowsCache for the lifetime rule
shell_rows: pardes.edit.RowsCache = .{},
/// Finished command panes' output, and whether it is a diff
-/// (File.DiffOutput).
-diff_output: pardes.panes.File.DiffOutput = .{},
+/// (ansi.DiffOutput).
+diff_output: pardes.ansi.DiffOutput = .{},
/// What the replay digest leaves out (src/walk.zig): what drawing
/// keeps, what is recomputed, and what only the session that performs