summaryrefslogtreecommitdiff
path: root/runtime/macos.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-19 11:42:48 -0300
committerGabriel Schneider <[email protected]>2026-11-19 11:42:48 -0300
commit71d8744b41dec56d835e30f531b96fede5d610a1 (patch)
tree31e2a06fdcfd467d12454cde8be5a477765701b5 /runtime/macos.zig
parenteae5736ad923731135dd35b3783c90a3358bd0fa (diff)
parent4569aefd55d04f434f2e2ed5e6e4a511a414cdc7 (diff)
downloadpardes-71d8744b41dec56d835e30f531b96fede5d610a1.tar.gz
pardes-71d8744b41dec56d835e30f531b96fede5d610a1.zip
integration: the one client loop that the soak runs, with the tape as the handle a step is given: pardes-runners-b (10b: runtime/client.zig run by the terminal's client, the window's and the soak; a client's clipboard and links its own frontend's; an input sent before it is applied) and pardes-handle-1 (the handle's steps 0 to 2: p.tape, the directory listing and the file system read through the tape they are handed), merged without a conflict; gates in the coordinator's ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime/macos.zig')
-rw-r--r--runtime/macos.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/macos.zig b/runtime/macos.zig
index 3e9c7b9b..4f8bd709 100644
--- a/runtime/macos.zig
+++ b/runtime/macos.zig
@@ -643,7 +643,7 @@ fn setThemeFileWatch(st: *State, request_generation: u32, on: bool) void {
hostWatchFile(theme_watch_pane, stopped, null, 0);
if (!on) return;
const request = colors.themeFileRequest(st.core, request_generation) orelse return;
- const bytes = filesystem.readFile(st.gpa, request.path) catch |err| {
+ const bytes = filesystem.readFile(&pardes.tape.none, st.gpa, request.path) catch |err| {
colors.failThemeFile(st.core, request_generation, err);
return;
};
@@ -665,7 +665,7 @@ fn reloadWatchedTheme(st: *State, announce: bool) bool {
const watched = if (st.file_watches.entries[theme_watch_pane]) |*entry| entry else return false;
const request = colors.themeFileRequest(st.core, watched.serial) orelse return false;
if (!std.mem.eql(u8, watched.path, request.path)) return false;
- const bytes = filesystem.readFile(st.gpa, watched.path) catch |err| {
+ const bytes = filesystem.readFile(&pardes.tape.none, st.gpa, watched.path) catch |err| {
colors.failThemeFile(st.core, watched.serial, err);
return false;
};