Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some keys cause 'unrecognized escape sequence' #21

Open
rotsix opened this issue Aug 6, 2020 · 4 comments
Open

some keys cause 'unrecognized escape sequence' #21

rotsix opened this issue Aug 6, 2020 · 4 comments

Comments

@rotsix
Copy link

rotsix commented Aug 6, 2020

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.

@pauloo27
Copy link

I got the same error, have you fixed it?

@rotsix
Copy link
Author

rotsix commented Dec 13, 2020

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! :)

@pauloo27
Copy link

pauloo27 commented Dec 13, 2020

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.

@rotsix
Copy link
Author

rotsix commented Dec 13, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants