-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Improve Windows support in integrated terminal #13625
Comments
The winpty version used in Tyriar/pty.js is a little newer than peters/winpty. It's from jeremyramin/winpty@a988fe9 |
@the-ress thanks for pointing that out, I wasn't aware 😃 |
I've enabled issues on Tyriar/pty.js so I can better organize the issues. |
I replaced the master branch with the prebuilt branch and set the default back to |
Here's the plan:
|
0.3.1 itself is unstable due to rprichard/winpty#80 |
Mr @Tyriar You should ask WDG to include an OFFICIAL PTY API into Creaters’ update. |
@be5invis while that would be nice, it won't fix the problem from my end (for a long time) as we will need to support legacy Windows. 👍'd though. |
An update on this: I've currently put the upgrade on hold as my initial testing of winpty 0.4.1 shows some breakages such as git bash moving the cursor in the wrong direction after backspace and many glitches in Bash for Windows. This is still a stretch goal for this iteration so I'm going to focus on finishing up the other stuff I have assigned this iteration before looking further into this. I have however published the lib with all the fixes from before (what we ship in stable) as |
I filed rprichard/winpty#96 on the winpty repo outlining the major issues I see |
One of the issues was node-pty's fault which has been fixed, the one last issue I believe has already been fixed (rprichard/winpty@40d5b72) and is just waiting for the new winpty version! 🎉 |
This is the first build to feature the upgrade to winpty@0.4.1 in addition to the conversion to TypeScript and general code clean up. The most notable change is that Git Bash no longer goes out of sync and likely a bunch of other issues in #14613. Certain applications within WSL do not function correctly with this build. I tested this on Windows and Linux. Part of #13625
This should fix the last major issues with applications within WSL Part of #13625
I just pushed to master to use node-pty@0.6.0-beta3 which includes the winpty fix for applications within WSL. If all goes well I'll release the new version of node-pty. |
Currently pty.js drives communication to and from the terminal's shell process but there are some issues with the way it's setup:
The current commit being used is on a branch called prebuilt but the prebuilt assets were removed to get signing working on Tyriar/pty.js.The prebuilt branch was copied over the master branch https://github.com/Tyriar/pty.js/tree/masterThe text was updated successfully, but these errors were encountered: