Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Keyboard arrows don`t work in bash on windows terminal #231

Open
vmizyak opened this issue May 22, 2017 · 21 comments
Open

Keyboard arrows don`t work in bash on windows terminal #231

vmizyak opened this issue May 22, 2017 · 21 comments

Comments

@vmizyak
Copy link

vmizyak commented May 22, 2017

Hello.

Please excuse me for my English.
I'm trying to use platformio-atom-ide-terminal in atom (windows 10) with bash on windows terminal. So i changed shell launch command. Now it looks like this C:/windows/System32/bash.exe.
When i launch the terminal view, i see bash command line, it can execute commands and seems that everything is fine. But when i'm trying to change cursor position or to list previous commands by pushing up key, i'm getting nothing. It looks like keys with arrows (up, down, left and right) don`t work. Is it platformio-atom-ide-terminal issue or may be i should to use special settings to get it fully working?

Thank you for your job!

@ajmwagar
Copy link

I have the same issue here, I'm additionally using the ZSH shell. I use cmder with platformio-atom-ide-terminal, and have the bash shell as a task, it all works fine other than this.

@vmizyak
Copy link
Author

vmizyak commented May 25, 2017

Thank you! I'll try it.

@vmizyak
Copy link
Author

vmizyak commented May 25, 2017

Salmagund1, could you help me please to configure it?

I've installed (unzip) cmder in c:\ and added default task with bash on windows. Then i've added C:\cmder\cmder.exe shell override string in the settings of the platformio-ide-terminal. When i start new platformio-terminal i get cmder with bash on windows in the separate window. Is it possible to start cmder session with bash inside platformio? If it so, what should i do to get it working?

@vmizyak vmizyak changed the title Keyboard arrows don`t work in bash on windows terminal Keyboard arrows don`t work in bash on windows terminal May 27, 2017
@tkvw
Copy link

tkvw commented Jun 21, 2017

Same issue here, command history (keyboard arrows) doesn't work, but the rest works perfectly

@tkvw
Copy link

tkvw commented Jun 21, 2017

Ctrl+p and Ctrl+n works though..

@americk0
Copy link

Same here. I'm on Windows 10 Home using platformio-ide-terminal package for atom. When I start the terminal it starts me in powershell where up/down arrow lets me navigate history just fine. I prefer bash so I execute bash and I'm taken into bash and everything works except up/down arrow doesn't let me navigate history. Ctrl+p and Ctrl+n work for me though

@SethForrest
Copy link

I would just like to bump this, since I just discovered platformio. I am having the same issue described above, Terminal works great with the exception of the movement keys (arrows, End, Home, etc.)

Excellent extension!

@Drew-Garratt
Copy link

Just found the same issue myself.
All directions of arrow key are not working for myself.
I'm running Windows Bash.

@danielhp02
Copy link

I used to use this extension on my Ubuntu PC and I never had any problems with it and now that I started using bash on Windows 10 in this terminal in Atom, I can't use the arrow keys or the navigation keys. I've also noticed this problem in cmder, but in cmd or Powershell they work fine. Could this be a Windows problem?

@FredrikRahn
Copy link

I've got the same problem as the others.
Ctrl+p, Ctrl+n works fine, but the arrow keys doesn't work.

@facosta0787
Copy link

I have the same problem, someone have any solution ?

@smallstepman
Copy link

same issue with cmd.exe on windows 7

@outcast
Copy link

outcast commented Feb 1, 2018

+1

@EduardoLarios
Copy link

Just leaving a comment. Still happening as of February 9. Can't use any arrow keys when using bash/fish on Windows Subsystem for Linux. Any ideas for a fix?

@adelin-b
Copy link

same here

@henryxparker
Copy link

I have the same problem

@falfiya
Copy link

falfiya commented Mar 1, 2018

Me too thanks

@prateek-parashar
Copy link

Started with Atom today and had the exact same problem. Please, if y'all stumbles upon a solution, lemme know.

@outcast
Copy link

outcast commented Apr 25, 2018 via email

@adelin-b
Copy link

I didn't tryed because I'm not on atom anymore, but there is vim bindings possible on bash or zsh that allow movement like arrows. But if you use atom you are probably not familiar with vim bindings

@joostaafjes
Copy link

joostaafjes commented Aug 7, 2018

As possible workaround for this issue, you can enable command line editing. E.g. by setting set -o vi you can use vi commands to scroll back in the history and change commands. So with ESC you goto command mode and for arrow keys you can use `j, k, l and ;' as arrow keys.

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

No branches or pull requests