keyboard icon indicating copy to clipboard operation
keyboard copied to clipboard

some keys cause 'unrecognized escape sequence'

Open rotsix opened this issue 5 years ago • 4 comments

Hey,

I'm playing with this project, and I found that some keys cause the same error: unrecognized escape sequence.

I'm using the latest version of the project. My terminal is termite (TERM=xterm-termite), on archlinux up-to-date.

Here is a (not exhaustive) list of keys that cause this:

  • Alt + <whatever>
  • Ctrl + Alt + <whatever>
  • Arrows
  • Home/End
  • Shift + Delete

Also some keys don't seem to be detected, such as:

  • Function keys (XF86AudioMute, etc)
  • Shift + PageUp/PageDown

Thanks a lot for your help! Regards.

rotsix avatar Aug 06 '20 08:08 rotsix

I got the same error, have you fixed it?

pauloo27 avatar Dec 12 '20 17:12 pauloo27

Sadly no. I think these behaviors are expected and due to being not implemented. I don't have free time to submit a PR but feel free to do it! :)

rotsix avatar Dec 13 '20 15:12 rotsix

Looking at old issues I found it was because my terminal emulator (termite and st) wasn't 'supported', so I created a fork that supports it.

My fix apply the xterm-keys to every TERM that starts with xterm-.

I would submit a PR but I think that the repo owner isn't active on github anymore.

pauloo27 avatar Dec 13 '20 16:12 pauloo27

Thanks a lot for that work. I have no more use of that project but I keep an eye on it!

rotsix avatar Dec 13 '20 18:12 rotsix