Skip to content
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

Arrow Keys Not Working in Visual Studio Code Integrated Terminal #770

Closed
shavvn opened this issue Aug 4, 2016 · 10 comments
Closed

Arrow Keys Not Working in Visual Studio Code Integrated Terminal #770

shavvn opened this issue Aug 4, 2016 · 10 comments

Comments

@shavvn
Copy link

shavvn commented Aug 4, 2016

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.

@fpqc
Copy link

fpqc commented Aug 4, 2016

Same thing happens with conemu unless you run with certain special console flags, probably related.

@iz0eyj
Copy link

iz0eyj commented Aug 5, 2016

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
#1 0x000001c05bab
#2 0x000001c0616d
#3 0x0000025d7752
#4 0x0000023c3f62
#5 0x0000023cac44
#6 0x0000023c35b6
#7 0x00000112c261
#8 0x00000112af50
#9 0x00000307d7ec main
#10 0x7f2a71f51f45 __libc_start_main
#11 0x00000053dee9

@fpqc
Copy link

fpqc commented Aug 5, 2016

I bet the next edition of vs code will have substantial integration with WSL (the way it has ssh remote integration now)

@wizzard0
Copy link

wizzard0 commented Aug 6, 2016

I believe this is the same issue as #111

@fpqc
Copy link

fpqc commented Aug 8, 2016

@wizzard0 yep, that's the ConEMU thing.

@NitroAMD
Copy link

NitroAMD commented Feb 6, 2017

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."

@RangerGH
Copy link

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.

@fpqc
Copy link

fpqc commented Jun 29, 2017

@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.

@RangerGH
Copy link

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.

@therealkenc
Copy link
Collaborator

Duping #111.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants