Arrow Keys Not Working in Visual Studio Code Integrated Terminal
Windows Build: 1607.
How to reproduce:
1.Follow the guideline of VS Code document, add bash on windows to integrated terminal in VS Code settings file:
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe"
2.Run VS Code (from Windows), open the terminal, type some commands, the arrow keys don't work. (cannot recall last command or move the cursor for editing)
I searched the previous issues and there seemed to be a few other cases, not sure if it's related though, so I just thought I might as well post it here.
Same thing happens with conemu unless you run with certain special console flags, probably related.
I add that Code won't start using the graphic environment Linux side (XFCE):
[1632:0805/080354:FATAL:render_sandbox_host_linux.cc(40)] Check failed: 0 == shutdown(renderer_socket_, SHUT_RD). shutdown: Argomento non valido (Invalid argument in english).
#0 0x000001befd1e
I bet the next edition of vs code will have substantial integration with WSL (the way it has ssh remote integration now)
I believe this is the same issue as #111
@wizzard0 yep, that's the ConEMU thing.
This should work now in Version January 2017 (version 1.9): "Windows support The library used to communicate with the terminal process on Windows has been upgraded which fixes many of the problems the terminal had on Windows such as arrow keys not functioning and the prompt line going out of sync. A special thanks to Ryan Prichard for his winpty library and for assisting with the upgrade."
I'm running 1.13 and they still do not work on Windows 7. Am I missing something or did they regress. If I use the integrated terminal nothing happens when I press the up or down arrow keys so no command recall.
@RangerGH uhhhhhh you can't run WSL on Windows 7. If you're having a general vscode problem with the arrow keys, please direct your issue to either VSCode or WinPTY.
I have no idea what WSL is but I'm using VSCode on Windows with the integrated terminal and based on the title thought this the correct bug report. I missed the reference to bash.
Duping #111.