fix(pty): recheck prompt handoff at idle boundary

This commit is contained in:
Tianyi Cui
2026-07-26 00:30:38 +08:00
parent 204a09b70f
commit 1317e4809f
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ describe('LocalPtySession readiness and output', () => {
void operation.done.then(() => { settled = true })
inspector.pgid = 789
terminal.emitData('\x1b]133;D;0\x07dsh> ')
await vi.advanceTimersByTimeAsync(40)
await vi.advanceTimersByTimeAsync(50)
expect(settled).toBe(false)
inspector.pgid = 456