diff options
Diffstat (limited to 'runtime/session.zig')
| -rw-r--r-- | runtime/session.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/session.zig b/runtime/session.zig index 6b359eef..d34a8ea9 100644 --- a/runtime/session.zig +++ b/runtime/session.zig @@ -103,6 +103,10 @@ pub fn Loop(comptime Frontend: type) type { defer l.peers.deinit(); // Before the core goes: each client sees its link end. defer l.peers.dropAll(l.core); + // A first client on the socket it was started with, before its + // first effects: it has every terminal from its first byte, and + // no reload (Core.openView). + if (o.pair) |fd| l.peers.join(l.core, .{ .fd = fd }); l.effects(); // ...and its shells, once a fresh session's own has a directory // to adopt them in. |
