mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
cbf29c2e53
When we decode a key event from X11 into a `KeyCode::Char(_)` variant, that result has already factored in the result of the SHIFT modifier state. That makes SHIFT largely useless for unicode keys; we do want to preserve the SHIFT modifier for keys such as the arrow keys. This commit removes SHIFT from the `KeyEvent::modifiers` for `KeyCode::Char(_)` variants so that those modifiers don't get in the way of keymap lookups. refs: https://github.com/wez/wezterm/issues/394 |
||
---|---|---|
.. | ||
examples | ||
src | ||
build.rs | ||
Cargo.toml |