isontheline / pro.webssh.net

iOS / iPadOS / macOS SSH Client
https://apps.apple.com/us/app/id497714887
MIT License
316 stars 46 forks source link

Ability to change Cursor Keys Mode globally #1021

Closed ghost closed 11 months ago

ghost commented 11 months ago

Bug description

Pressing up / down arrow keys does nothing while connected to remote machine. Does not show previous commands executed history.

isontheline commented 11 months ago

Could you share some information about your server (os, etc)?

What about the keyboard you use?

isontheline commented 11 months ago

Feel free to reopen this issue as soon as needed

ghost commented 11 months ago

SSH’ing from Mac to both Windows and Mac machines, various OS versions.

It seems to be Windows machines (using powershell as default shell) where the up arrow command execution history doesn’t work (both Win 10 and 11).

isontheline commented 11 months ago

Thank you so much for your feedback 🙏

Could you try to edit your connection terminal settings and update "Cursor Keys Mode" to "Normal" value?

I wish you a nice day ☀️

ghost commented 11 months ago

You’re up early!

Done and working. Can this be set globally?

isontheline commented 11 months ago

You're Welcome 😉

I will add an option tonight to set it globally.

The update should be available by the end of year (7-10 days)

isontheline commented 11 months ago

Now available on TestFlight : https://testflight.apple.com/join/QSrBK59z

You will need to edit ssh_config file : https://webssh.net/documentation/help/SSH/ssh-config-file/#special-features

Example :

HOST *
    #!CursorKeysMode normal

Have a nice day ☀️

ghost commented 11 months ago

Appears to be working as intended :)