You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve Windows support in integrated terminal #13625
All versions of pty.js depends on a fork (peters/winpty) of a very old version of rprichard/winpty which includes quite a few changes, including changes to the API. I believe this old version of winpty is the root cause for several windows-specific terminal issues.
Hi Daniel Imms (@Tyriar) , thanks for your work on this! Just FYI I also tried ptyw.js but with no luck. Finally I had to fallback to use cmd.exe to get result of a command. Looking forward to a stable pty.js! 👏
Belleve (@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 [email protected] npm so other consumers are safe to use that npm package if they were previously pointing to c75c2dc on Tyriar/pty.js. The only change was in the package.json metadata.
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! 🎉
I just pushed to master to use [email protected] which includes the winpty fix for applications within WSL. If all goes well I'll release the new version of node-pty.
Activity
supnate commentedon Oct 31, 2016
Hi Daniel Imms (@Tyriar) , thanks for your work on this! Just FYI I also tried ptyw.js but with no luck. Finally I had to fallback to use
cmd.exeto get result of a command. Looking forward to a stablepty.js! 👏the-ress commentedon Oct 31, 2016
The winpty version used in Tyriar/pty.js is a little newer than peters/winpty.
It's from jeremyramin/winpty@a988fe9
Tyriar commentedon Nov 1, 2016
Tereza Tomcova (@the-ress) thanks for pointing that out, I wasn't aware 😃
Tyriar commentedon Nov 7, 2016
I've enabled issues on Tyriar/pty.js so I can better organize the issues.
Tyriar commentedon Nov 11, 2016
I replaced the master branch with the prebuilt branch and set the default back to
master. It's fine to point at master now.Tyriar commentedon Nov 11, 2016
Here's the plan:
0.4.00.4.1 https://github.com/Tyriar/pty.js/issues/10Tyriar commentedon Jan 1, 2017
0.3.1 itself is unstable due to rprichard/winpty#80
be5invis commentedon Jan 3, 2017
Mr Daniel Imms (@Tyriar) You should ask WDG to include an OFFICIAL PTY API into Creaters’ update.
cf. microsoft/WSL#1117
Tyriar commentedon Jan 3, 2017
Belleve (@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.
pty.js -> node-pty
1 remaining item
Tyriar commentedon Jan 12, 2017
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
[email protected]npm so other consumers are safe to use that npm package if they were previously pointing toc75c2dcon Tyriar/pty.js. The only change was in the package.json metadata.Tyriar commentedon Jan 15, 2017
I filed rprichard/winpty#96 on the winpty repo outlining the major issues I see
Tyriar commentedon Jan 15, 2017
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! 🎉
Uplevel node-pty to 0.6.0-beta2
Uplevel node-pty to 0.6.0-beta3
Tyriar commentedon Jan 18, 2017
I just pushed to master to use [email protected] which includes the winpty fix for applications within WSL. If all goes well I'll release the new version of node-pty.
[-]Figure out what we're going to do with pty.js[/-][+]Improve Windows support in integrated terminal[/+]pty.js -> node-pty
Uplevel to [email protected]