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

Shouldn't get this key without enabling DISAMBIGUATE_ESCAPE_CODES in crossterm #4883

Closed
xlambein opened this issue Nov 25, 2022 · 1 comment

Comments

@xlambein
Copy link

xlambein commented Nov 25, 2022

When I press shift and media play/pause ([57428;2u) on my keyboard, Helix crashes with the following message:

thread 'main' panicked at 'internal error: entered unreachable code: Shouldn't get this key without enabling DISAMBIGUATE_ESCAPE_CODES in crossterm', helix-view/src/keyboard.rs:158:40

which originates there:

| CKeyCode::Modifier(_) => unreachable!(
"Shouldn't get this key without enabling DISAMBIGUATE_ESCAPE_CODES in crossterm"
),

I'm running Helix off master, more specifically 590a628460c8fa8a4e101541d67289fa2fac95b5.

My OS details are: Linux nixos 5.19.1 #1-NixOS SMP PREEMPT_DYNAMIC Thu Aug 11 11:22:05 UTC 2022 x86_64 GNU/Linux

@archseer
Copy link
Member

#4125

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