Repository navigation
Commit ed7b38b
fix(terminal): serialize initial commands opened while the first still waits
A second open of a running terminal returned no initialCommandHandled
flag while the first command still waited for shell readiness, so the
client's fallback write could reach the shell before the pending first
command. The live-session path now chains such commands behind the
pending one server-side and reports them as handled; with nothing
pending, opens keep returning to the client's immediate write.
Co-Authored-By: Claude Code <[email protected]>1 parent 8e7e60c commit ed7b38b
2 files changed
Lines changed: 241 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
598 | 621 | | |
599 | 622 | | |
600 | 623 | | |
| |||
0 commit comments