node-pty
node-pty copied to clipboard
Fork pseudoterminals in Node.JS
I think we need to compare RtlGetVersion (real, no node API) with GetVersionExW (compat mode version, `os.release()` in node). I believe this is the primary problem behind https://github.com/Microsoft/vscode/issues/43169
``` ..\src\win\pty.cc(70): warning C4311: 'type cast': pointer truncation from 'HANDLE' to 'int' [C:\Users\Daniel\Documents\dev\Tyriar\pty.js\build\pty.vcxproj] ..\src\win\pty.cc(70): warning C4302: 'type cast': truncation from 'HANDLE' to 'int' [C:\Users\Daniel\Documents\dev\Tyriar\pty.js\build\pty.vcxproj] ..\src\win\pty.cc(81): warning C4311: 'type cast': pointer...
How to reproduce: ``` $ node --version v8.5.0 $ cat package.json | grep node-pty "node-pty": "^0.7.4", $ node -e " const node_pty = require('node-pty'); const pty = node_pty.spawn('bash'); pty.on('error', error...
## Environment details - OS version: Windows 10 2004 - Node.js version: 14.15.0 - node-pty version: 0.9.0 ## Issue description Using the simple example script below, I am unable to...
We have written the needed data into your clipboard because it was too large to send. Please paste. Issue Type: Bug 1. Open Terminal 2. Run program. For example top...
``` if (typeof process.env.ComSpec == "undefined") { cmd = "bash"; cmdargs = ["-i"] } else { cmd = "cmd.exe"; cmdargs = [] } mypty = pty.spawn( cmd, cmdargs, { name:...
Current conout worker code supports `node_modules.asar` which is presumably for VSCode. Adding support for `app.asar` in the __dirname will add support for the rest of Electron apps.
On Linux, running a command with `node-pty` sometimes truncates the end of the output. Steps to reproduce: * `docker run -it node bash` Then inside docker: * `npm install node-pty`...
In WindowsTerminal there are `['connect', 'data', 'end', 'timeout', 'drain']` event listeners which handle event handler deferreds, we should uninstall these handlers after it's ready. This would reduce the amount of...
## Environment details - OS: Windows 10 Pro 64bit - OS version: Windows 10 Pro 64bit Version 1809 (OS Build 17763.615) - node-pty version: 0.9.0-beta19 ## Issue description If a...