diff options
Diffstat (limited to 'src/tty/tty.zig')
| -rw-r--r-- | src/tty/tty.zig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tty/tty.zig b/src/tty/tty.zig index 31f62d34..d474e83a 100644 --- a/src/tty/tty.zig +++ b/src/tty/tty.zig @@ -1860,7 +1860,10 @@ const Shell = struct { }, .quit => { // The terminal went: a session the daemon keeps carries on - // without it, to be attached again. + // without it, to be attached again. Gone before the first + // frame, the reader that takes the daemon's `ok` (kept + // waits on it) is not started yet: started here. + daemon.watch(s.loop, deliverNote); if (daemon.kept()) { if (s.attached()) s.leaveTerminal(); return true; |
