-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Up arrow key does not work in bash.exe #1127
Comments
Not only up but all arrow keys. |
@mqudsi this is an issue with Bash on Windows microsoft/WSL#111. |
For the time being I'm using |
Ctrl+x doesn't work eather (could not exit nano). |
@warpdesign you can use Ctrl+Shift+x to exit. |
@stefanivic, @Tyriar from the VSCode team is also watching this issue. Maybe both teams can combine efforts? @Maximus5 of ConEmu was able to develop a solution by translating "native keypresses into Xterm compatible keypresses" is it something relevant to Hyper and worth looking into? |
@stereokai I'm actually in the process of updating https://github.com/Tyriar/pty.js to use [email protected] which appears to have fixed this issue: https://github.com/rprichard/winpty/releases Stay tuned: https://github.com/Tyriar/pty.js/issues/10 |
That rocks. I hope it ends up working! |
Yes I'm hoping it will fix some other random Windows issues such as these microsoft/vscode#14613, it's hard to know until it's done though. |
Just wanted to see if you had any luck resolving the arrow issues? Would love to start using Hyper for my WSL setup. |
@jcolesio should be fixed when node-pty is upgraded to 0.6.0. |
Until then you can use mintty/wsltty
Replace %USERNAME% with ours as hyper doesn't resolve env variables (yet). Omit the last argument if you use bash instead of zsh. |
Where do I make the following modification?
Thanks
…Sent from my iPhone
On Jan 22, 2017, at 4:31 AM, Michael Scherer <[email protected]<mailto:[email protected]>> wrote:
Until then you can use mintty/wsltty<https://github.com/mintty/wsltty/releases>
shell: 'C:\\Users\\%USERNAME%\\AppData\\Local\\wsltty\\bin\\wslbridge.exe',
shellArgs: ['-t', '-C~', '/bin/zsh'],
Replace %USERNAME% with ours as hyper doesn't resolve env variables (yet). Omit the last argument if you use bash instead of zsh.
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1127 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AERc7PS8KUT2250PxfKx2yBozmtuN3ogks5rUy_dgaJpZM4LK3Md>.
|
@jcolesio the |
Thanks guys, worked perfectly! |
Do you guys have any issues with WSL in hyper that when deleting things from the command line it retains some old characters depending how much I am deleting from the command line? |
Yeah, I also have it echoing back my commands before the output of each. |
This seems fixed, using Windows Insider 15049 and Hyper 1.2.1. Also reported working on 15042: davatron5000/can-i-subsystem-it#4 (comment) |
Indeed @nolanlawson, it's fixed – I forgot to close 😅 Thank you 🙌 |
Btw, huge props to @Tyriar 🥇 |
🎉 |
@nolanlawson @matheuss @Tyriar That's weird. I've had it working since version 1,2,0, and I'm on Windows 10 14393.693 - I'm not an insider. |
@stereokai it would have been fixed in a Hyper version, not Windows. |
@Tyriar I wrote that because 4 days ago @nolanlawson specified his Windows version (recent build from Windows Insider Program), so I thought he meant there was a fix implemented in the Windows build he's on.
|
Running 1.0.0, starting hyper, then starting bash.exe with no other changes or configurations, the up arrow key does not work out of the box. This is on Windows 10 version 1607.
The text was updated successfully, but these errors were encountered: