summaryrefslogtreecommitdiff
path: root/dev/tui/tui.zig
diff options
context:
space:
mode:
Diffstat (limited to 'dev/tui/tui.zig')
-rw-r--r--dev/tui/tui.zig8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev/tui/tui.zig b/dev/tui/tui.zig
index ecc52df0..86956eb5 100644
--- a/dev/tui/tui.zig
+++ b/dev/tui/tui.zig
@@ -1463,11 +1463,9 @@ const Shell = struct {
// is held for the next wait: `split`).
s.takeQueue();
// An exit's wake (a .nop) or output an exit waited behind: told
- // here, inside the step, so the frame after it shows it; not while
- // reads taken off the queue wait their steps (`takeQueue`): one of
- // them may be the command's own last output, which its exit would
- // be drawn above (CommandWatch.due cannot see it).
- if (s.batch_at == s.batch.len) s.takeExits();
+ // here, inside the step, so the frame after it shows it (a read
+ // still to be applied holds it back: Ptys.unapplied).
+ s.takeExits();
s.reloadWatched();
}