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

BackTab or SHIFT+Tab are not being captured properly #771

Closed
coastalwhite opened this issue Mar 30, 2023 · 1 comment
Closed

BackTab or SHIFT+Tab are not being captured properly #771

coastalwhite opened this issue Mar 30, 2023 · 1 comment

Comments

@coastalwhite
Copy link

coastalwhite commented Mar 30, 2023

Describe the bug
We found in coastalwhite/lemurs#136 that, in a Linux TTY, Shift + Tab does not properly trigger either BackTab or Tab + KeyModifiers::SHIFT. It instead triggers Tab + KeyModifiers::ALT. This might be an inherit limit of the TTY, but I feel like it is good to mention it anyway.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a Linux TTY
  2. Capture the key events from crossterms
  3. Press Shift + Tab
  4. See that the keyevent triggers Shift + KeyModifiers::ALT.

Expected behavior
I expect BackTab or otherwise Tab + KeyModifiers::SHIFT.

OS

  • Linux

Terminal/Console

  • TTY
@TimonPost
Copy link
Member

TimonPost commented Apr 10, 2023

Please forward your issue here: #685.

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