Overlap trimming advanced the attach cursor across missing PTY bytes. Reject forward gaps before writing output and let the existing error path restore terminal mode. Cover lost, contiguous and overlapping delivery through the real CLI in a controlling terminal. Co-authored-by: Lucenx9 <185146821+Lucenx9@users.noreply.github.com>
11 files changedLine totals unavailable