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

macOS, backspace, and modifiers #575

Closed
sophiajt opened this issue Jun 16, 2021 · 2 comments
Closed

macOS, backspace, and modifiers #575

sophiajt opened this issue Jun 16, 2021 · 2 comments

Comments

@sophiajt
Copy link
Contributor

Describe the bug
This seems related to #504. On macOS, if you do Ctrl+Backspace or Alt+Backspace, crossterm reports these as Backspace with no modifiers.

To Reproduce
Steps to reproduce the behavior:

  1. Ctrl+Backspace
  2. or
  3. Alt+Backspace

Expected behavior
The correct modifiers are connect to the code.

OS

  • macOS

Terminal/Console

  • Standard macOS 10.15 terminal
@kdheepak
Copy link
Contributor

Alt+Backspace seems to work with v0.20.0 version of crossterm. FWIW, I tried to print out the ascii code in a fork of crossterm when pressing Ctrl + backspace and backspace and they were the same on my Mac with iTerm2, so maybe that's not possible to do?

@TimonPost
Copy link
Member

Closing in favor of #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

3 participants