summaryrefslogtreecommitdiff
path: root/src/tty/tty.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tty/tty.zig')
-rw-r--r--src/tty/tty.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tty/tty.zig b/src/tty/tty.zig
index 39c287f7..03b7a7e2 100644
--- a/src/tty/tty.zig
+++ b/src/tty/tty.zig
@@ -2432,9 +2432,9 @@ const Shell = struct {
// ends the wait at once and its frame is drawn then; the ticks after
// it run from it.
var wait = timeout_ms;
- // Detached, nobody's key dismisses a message: they go on the clock.
+ // Detached, nobody's key dismisses a message: they go on the clock
+ // (the pump's, after this wait), which wakes it.
if (!s.attached()) {
- pardes.Messages.expireUnattended(s.core);
for (s.core.panes) |slot| if (slot) |pane| if (pane.msg_len > 0) {
wait = if (wait == 0) 100 else @min(wait, 100);
break;