diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 23:12:51 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 09:54:56 -0300 |
| commit | ba3f55e71325f31399fbd2134868d6ba7f774451 (patch) | |
| tree | de694d2ef5847f4886d438c53297d7265aa889a4 /src/gui/gui.zig | |
| parent | f0eba0a5f07b88546cefe530f915302b203d0e6c (diff) | |
| download | pardes-ba3f55e71325f31399fbd2134868d6ba7f774451.tar.gz pardes-ba3f55e71325f31399fbd2134868d6ba7f774451.zip | |
daemon: what a stub is told (detached, exited, refused) is one daemon.tellStub(fd, fmt, args), where tellDetached, tellExit and refuseStub each formatted a word into a buffer, wrote it and closed the pipe
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/gui/gui.zig')
| -rw-r--r-- | src/gui/gui.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig index 33922286..7d77ed2a 100644 --- a/src/gui/gui.zig +++ b/src/gui/gui.zig @@ -4455,7 +4455,7 @@ fn deliverNote(ctx: *anyopaque, note: daemon.Note) void { // A terminal for a window session: the daemon refuses that kind // before it is sent, so only an old one's would be here. if (a.tty >= 0) _ = libc.close(a.tty); - if (a.stub >= 0) daemon.refuseStub(a.stub, "a window session takes no terminal"); + if (a.stub >= 0) daemon.tellStub(a.stub, "r{s}", .{"a window session takes no terminal"}); if (a.tty < 0) q.push(.window); }, .adopted => |a| { |
