summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-27 21:18:46 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commit2352f0079404f31d458745e687d195d8f9c5b39f (patch)
tree2951e4cda92aa076c38e24e4ec45e81edded376b /src/fs.zig
parentd2d31742b3381a4c550baabd55852489b91dc277 (diff)
downloadpardes-2352f0079404f31d458745e687d195d8f9c5b39f.tar.gz
pardes-2352f0079404f31d458745e687d195d8f9c5b39f.zip
Move the Image pane namespace out of panes.zig into image.zig
Pure move: the body of `pub const Image = struct { ... }` now sits at the end of image.zig, dedented, under a "the image pane" banner, so the image thing (decoding, glyph art, and the pane that shows it) is one file. Its nine `image.X` self-references lose the prefix; image.zig gains the four imports the pane code uses. panes.zig keeps `pub const Image = @import("image.zig");`, so `panes.Image.x` callers are unchanged. image.zig joins the embedded source list, since the pane code left panes.zig which was on it. 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 4fbfe9f9..8fd4d711 100644
--- a/src/fs.zig
+++ b/src/fs.zig
@@ -37,6 +37,7 @@ 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/image.zig", .contents = @embedFile("image.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") },