Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Cygwin agent (mainly for Visual Studio Code) #173

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lalbornoz
Copy link

The integrated terminal in Visual Studio Code has numerous flaws[1] on Windows and winpty versions lacking ConPTY support, which covers the lion's share of installations, as ConPTY is only available on recent Windows 10 builds.

Since winpty is ordinarily obliged to interact with Cygwin processes' terminal via Windows' deficient console APIs, this commit implements a new Cygwin adapter, on the basis of the Unix adapter, which instead leverages Cygwin's native PTY implementation. This provides a direct interface between xterm.js and Cygwin processes, addressing most of those flaws and rendering the terminal usable.

[1] microsoft/vscode#45693

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.

1 participant