a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

Problem with arrow keys

Open domi04 opened this issue 3 years ago • 2 comments

If I try to bring back the last command via the arrow keys, it doesn't work. Instead it types in OA if the up arrow is pressed, OC for the right, OD for the left and OB for the down key. I had this problem before, so I reinstalled the app and it was fixed for a short time. I guess it has something to do with ssh, because I recently used it quite often and then this problem occurred.

domi04 avatar Sep 23 '22 10:09 domi04

You are right, I have the same problem and it's annoying. I don't think it comes from ssh, because I don't use it. Simply restarting the app is enough to bring the normal begaviour for the arrows back.

holzschu avatar Sep 23 '22 12:09 holzschu

It seems that it may have to do with whatever js pseudo-VT you are using and the Cursor Application Mode (DECSET DECCKM). you can enter python -c 'print("\x1b[?1l")' to disable the mode and it should work

WanderLanz avatar Jan 31 '23 02:01 WanderLanz