Files
orca/src
Neil 2b2d64ce7b fix(terminal): keep budget-free terminal flushes exhaustive
Dense SGR pacing made flushTerminalOutput() stop early — it refused to
write while a batch was in flight and stopped after one 4 KiB batch. The
replay and shutdown-capture callers pass no char budget precisely because
they write straight to xterm next, so a partial flush let stale queued
bytes land on top of a freshly restored screen.

Treat a flush with no maxChars as an ordering barrier: skip both pacing
exits and drain the whole queue. Budgeted callers keep dense pacing.
2026-09-19 15:05:53 -07:00
..