summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-27 21:12:37 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commitd2d31742b3381a4c550baabd55852489b91dc277 (patch)
treec0cfdae3355d80525d7db24b3d8b81517b2a2eed /src/fs.zig
parenta458b6e610ed573b987ade7c0048663e57fb7191 (diff)
downloadpardes-d2d31742b3381a4c550baabd55852489b91dc277.tar.gz
pardes-d2d31742b3381a4c550baabd55852489b91dc277.zip
Move the Mini namespace out of panes.zig into Mini.zig
Pure move: the body of `pub const Mini = struct { ... }` is now the file Mini.zig, dedented, with the imports it uses; panes.zig keeps `pub const Mini = @import("Mini.zig");` so every `panes.Mini.x` caller is unchanged. Output.resetBody becomes pub because Mini calls it from another file now. Mini.zig joins the embedded source list in fs.zig. 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 4f395b1c..4fbfe9f9 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/Mini.zig", .contents = @embedFile("Mini.zig") },
.{ .path = "src/layout.zig", .contents = @embedFile("layout.zig") },
.{ .path = "src/fs.zig", .contents = @embedFile("fs.zig") },
.{ .path = "src/look.zig", .contents = @embedFile("look.zig") },