summaryrefslogtreecommitdiff
path: root/dev/tui
diff options
context:
space:
mode:
Diffstat (limited to 'dev/tui')
-rw-r--r--dev/tui/tui.zig5
1 files changed, 1 insertions, 4 deletions
diff --git a/dev/tui/tui.zig b/dev/tui/tui.zig
index bf051e9a..0157362a 100644
--- a/dev/tui/tui.zig
+++ b/dev/tui/tui.zig
@@ -1585,10 +1585,7 @@ const Shell = struct {
return true;
}
// The terminal went: a session the daemon keeps carries on
- // 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);
+ // without it, to be attached again.
if (daemon.kept()) {
if (!s.detached()) s.leaveTerminal();
return true;