summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-27 21:19:08 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commit2f3f8776613ebb357ff6458267c3d79c79944968 (patch)
tree5582cd51cc9b586cb68f05d67f1bed14efa1e80e /src/fs.zig
parent2352f0079404f31d458745e687d195d8f9c5b39f (diff)
downloadpardes-2f3f8776613ebb357ff6458267c3d79c79944968.tar.gz
pardes-2f3f8776613ebb357ff6458267c3d79c79944968.zip
Move the Output namespace out of panes.zig into Output.zig
Pure move: the body of `pub const Output = struct { ... }` is now the file Output.zig, dedented, with the imports it uses; panes.zig keeps `pub const Output = @import("Output.zig");`, so `panes.Output.x` callers are unchanged. decorateRow and RowDecoration.styleAt become pub because File calls them from another file now. Output.zig joins the embedded source list. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/fs.zig')
-rw-r--r--src/fs.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs.zig b/src/fs.zig
index 8fd4d711..e6ebddf2 100644
--- a/src/fs.zig
+++ b/src/fs.zig
@@ -36,6 +36,7 @@ else
const source_files = [_]Source{
.{ .path = "src/pardes.zig", .contents = @embedFile("pardes.zig") },
.{ .path = "src/panes.zig", .contents = @embedFile("panes.zig") },
+ .{ .path = "src/Output.zig", .contents = @embedFile("Output.zig") },
.{ .path = "src/Mini.zig", .contents = @embedFile("Mini.zig") },
.{ .path = "src/image.zig", .contents = @embedFile("image.zig") },
.{ .path = "src/layout.zig", .contents = @embedFile("layout.zig") },