summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/session.zig5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/session.zig b/runtime/session.zig
index 75e8efcc..65432d97 100644
--- a/runtime/session.zig
+++ b/runtime/session.zig
@@ -86,7 +86,10 @@ pub fn Loop(comptime Frontend: type) type {
defer l.prompt_rcs.deinit();
l.fs = ninep_io.start(l.io, l.gpa, l.core);
defer if (l.fs) |f| f.deinit(l.gpa);
- l.peers = .{ .gpa = l.gpa, .io = l.io, .name = daemon.name() };
+ // PARDES_TERM_BYTES (a working name, the pair's corpus runs): its
+ // clients' terminals by the pty's bytes (Peers.bytes), as the
+ // soak's `--bytes`; its clients must be started with it too.
+ l.peers = .{ .gpa = l.gpa, .io = l.io, .name = daemon.name(), .bytes = std.c.getenv("PARDES_TERM_BYTES") != null };
l.inbox = .{ .io = l.io, .gpa = l.gpa, .lsp_allocator = l.allocs.lsp };
defer l.inbox.deinit();
// A search's worker may be waiting on the queue for room.