platformio-atom-ide-terminal icon indicating copy to clipboard operation
platformio-atom-ide-terminal copied to clipboard

Keyboard arrows don`t work in bash on windows terminal

Open vmizyak opened this issue 8 years ago • 21 comments

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!

vmizyak avatar May 22 '17 20:05 vmizyak

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.

ajmwagar avatar May 24 '17 06:05 ajmwagar

Thank you! I'll try it.

vmizyak avatar May 25 '17 04:05 vmizyak

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 avatar May 25 '17 21:05 vmizyak

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

tkvw avatar Jun 21 '17 15:06 tkvw

Ctrl+p and Ctrl+n works though..

tkvw avatar Jun 21 '17 16:06 tkvw

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

americk0 avatar Jul 13 '17 15:07 americk0

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!

SethForrest avatar Sep 16 '17 20:09 SethForrest

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

Drew-Garratt avatar Oct 05 '17 12:10 Drew-Garratt

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?

danielhp02 avatar Oct 22 '17 11:10 danielhp02

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

FredrikRahn avatar Oct 31 '17 15:10 FredrikRahn

I have the same problem, someone have any solution ?

facosta0787 avatar Dec 15 '17 22:12 facosta0787

same issue with cmd.exe on windows 7

smallstepman avatar Jan 05 '18 15:01 smallstepman

+1

outcast avatar Feb 01 '18 13:02 outcast

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?

EduardoLarios avatar Feb 10 '18 00:02 EduardoLarios

same here

adelin-b avatar Feb 10 '18 16:02 adelin-b

I have the same problem

henryxparker avatar Feb 20 '18 21:02 henryxparker

Me too thanks

falfiya avatar Mar 01 '18 06:03 falfiya

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

prateek-parashar avatar Apr 25 '18 18:04 prateek-parashar

same here

On Wed, Apr 25, 2018 at 2:49 PM, Prateek Parashar [email protected] wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/platformio/platformio-atom-ide-terminal/issues/231#issuecomment-384394846, or mute the thread https://github.com/notifications/unsubscribe-auth/AATVMeKzcL1VPLxMHLpM1BNhyZJnytsEks5tsMVVgaJpZM4Ni20- .

outcast avatar Apr 25 '18 18:04 outcast

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

adelin-b avatar Apr 25 '18 19:04 adelin-b

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.

joostaafjes avatar Aug 07 '18 11:08 joostaafjes