summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-27 21:30:25 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commit0ce8269c251eaba188883c38dd3e97be9fb362cc (patch)
treedb4d27ada37ca461588a42800316ddd375dbc8e7 /src/fs.zig
parentaf74ce84f8230adb45857f2a6364d96a6205e4c0 (diff)
downloadpardes-0ce8269c251eaba188883c38dd3e97be9fb362cc.tar.gz
pardes-0ce8269c251eaba188883c38dd3e97be9fb362cc.zip
Move the Pdf namespace out of panes.zig into pdf_view.zig
Pure move: the body of `pub const Pdf = struct { ... }` is now the file pdf_view.zig, dedented, with the imports it uses; panes.zig keeps `pub const Pdf = @import("pdf_view.zig");`, so `panes.Pdf.x` callers are unchanged. The file is not Pdf.zig because pdf.zig (the MuPDF module) sits beside it and the two names are one file on a case-insensitive disk. pdf_view.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 fed15344..3dccdf7f 100644
--- a/src/fs.zig
+++ b/src/fs.zig
@@ -41,6 +41,7 @@ const source_files = [_]Source{
.{ .path = "src/Mini.zig", .contents = @embedFile("Mini.zig") },
.{ .path = "src/image.zig", .contents = @embedFile("image.zig") },
.{ .path = "src/Terminal.zig", .contents = @embedFile("Terminal.zig") },
+ .{ .path = "src/pdf_view.zig", .contents = @embedFile("pdf_view.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") },