Merge remote-tracking branch 'origin/master' into fix/pty-handoff-grace

This commit is contained in:
Chinesezjc
2026-07-27 20:20:28 +08:00
191 changed files with 3897 additions and 2391 deletions

View File

@@ -93,13 +93,6 @@ class LocalSendOperation implements PtySendOperation {
return this.promise.promise
}
/**
* Accumulate sanitized output into the operation's viewport. Output that arrives after
* the operation settles is dropped here and survives only in the session scrollback, so
* a caller waiting on this operation for a marker cannot observe one the child prints
* after any readiness tier ended the send.
* @param text Sanitized text to append while the operation is still active.
*/
append(text: string): void {
if (!this.finished) this.output.append(text)
}