isontheline / pro.webssh.net

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

Square brackets on keyboard layout #1150

Open cwlo2F opened 3 months ago

cwlo2F commented 3 months ago

Bug description

It maybe just my ignorance of syntax, but I cannot add square brackets on the top row of the keyboard. The document does not provide any information about how to add curly brackets or square brackets on the keyboard layout.

Steps to reproduce

  1. Add #!KeyboardAccessoryViewLayout [[][]] to ssh config file
  2. Blank key appears on the top row
cwlo2F commented 3 months ago

Also, it would be great if pairs of brackets or parentheses can be added to keyboard layout as special keys, so that one can open and close by flipping the key.

isontheline commented 3 months ago

Hello @cwlo2F šŸ‘‹

You're right square and curly brackets can't be added right now. I will make an improvement very soon.

Also, it would be great if pairs of brackets or parentheses can be added to keyboard layout as special keys, so that one can open and close by flipping the key.

Could you tell me more about this statement?

cwlo2F commented 3 months ago

I would like to suggest adding special keyboard layout keys for parentheses. These keys could be designed to slide left or right, similar to {ARROWS}, to type opening and closing parentheses efficiently. It would be quite useful for editing scripts on WebSSH. I look forward to your consideration of this feature!

isontheline commented 3 months ago

That's a good idea šŸ˜‰

It could be longer however than fixing the ability to add "simple" curly and bracket keys above the keyboard.

So just a question :

Have a nice day ā˜€ļø

cwlo2F commented 3 months ago

I feel the fix of keyboard to add brackets should precede to the special keys. It would be good to split the issue.

Iā€™m not so familiar with how the communication on GitHub issue works. Please notify me if there is any action item for me!