diff options
Diffstat (limited to 'core/replica.zig')
| -rw-r--r-- | core/replica.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/replica.zig b/core/replica.zig index cbb64363..817d2c19 100644 --- a/core/replica.zig +++ b/core/replica.zig @@ -3257,6 +3257,12 @@ fn takeJoined(r: *Replica, j: *Joined, have: ?*Have, t0: u64) void { // PARDES_REPLICA_STATS: its timing samples kept, for its line. r.stats.samples = std.c.getenv("PARDES_REPLICA_STATS") != null; r.gmtoff = j.gmtoff; + // PARDES_TERM_BYTES: its terminals its own emulators, fed the pty's + // bytes its units carry (a session started with it: Peers.bytes). + if (std.c.getenv("PARDES_TERM_BYTES") != null) { + r.t.screen_state = false; + r.core().echo = null; + } // On the session's machine: a file read sent by hash is read here; // far, it goes to the disk for the next join. r.t.local_files = have == null; |
