ttyd icon indicating copy to clipboard operation
ttyd copied to clipboard

Some hotkeys unusable

Open raspbeguy opened this issue 2 years ago • 5 comments

Describe the bug Some hotkeys are not usable on some keyboard layouts, for instance ^] on french AZERTY keyboards.

To Reproduce We will try to send the escape hotkey ^] (used by programs like telnet) using an french AZERTY keyboard.

  1. Make sure telnet is installed
  2. Run ttyd bash
  3. Open the terminal in your browser at http://127.0.0.1:7681
  4. Run telnet towel.blinkenlights.nl for instance.
  5. Then try to enter the escape character ^] (knowing that on french AZERTY keyboards the character ] is typed with AltGR + ).

Nothing happens. It is the same issue with other programs than telnet, for example virsh console.

Expected behavior You should get the telnet prompt telnet>

Environment:

  • OS: Debian 11, Alpine Linux Edge
  • Browser: Firefox 107.0, Chromium 108.0.5359.124

raspbeguy avatar Dec 15 '22 14:12 raspbeguy

Can you reproduce it with with xterm.js demo?

tsl0922 avatar Feb 22 '23 03:02 tsl0922

I don't know how to use that.

raspbeguy avatar Feb 22 '23 07:02 raspbeguy

Check: https://github.com/xtermjs/xterm.js/wiki/Contributing#running-the-demo

tsl0922 avatar Feb 22 '23 07:02 tsl0922

Yes I reproduced it on demo.

raspbeguy avatar Feb 22 '23 09:02 raspbeguy

Then you may want to report this issue to the xterm.js repo, thanks.

tsl0922 avatar Feb 22 '23 09:02 tsl0922