Skip to content

Conversation

@devm33
Copy link
Contributor

@devm33 devm33 commented Sep 18, 2025

This reverts commit 3913479.

Since the terminal write method has no way to communicate backpressure to the caller and doesn't handle it internally, quickly successive calls to write or calls with long enough data can cause a loop where the node process gets stuck repeatedly trying to write data that the terminal process did not read quickly enough.

write(data: string): void;

Fixes #797

@raj-magesh
Copy link

After this is merged, would this require changes in VS Code itself?

My remote development extension is partially broken and I'm wondering if I'll need to update my VS Code version or just the extension.

@deepak1556 deepak1556 self-assigned this Sep 29, 2025
@deepak1556 deepak1556 added this to the October 2025 milestone Sep 29, 2025
@deepak1556 deepak1556 modified the milestones: October 2025, November 2025 Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

node-pty hangs after PR #653 (v1.1.0-beta13) when writing multiple chunks rapidly

3 participants