mirror of
https://github.com/wez/wezterm.git
synced 2024-11-13 07:22:52 +03:00
9ff9bf15fd
The goal at the window layer is to preserve enough useful information for other layers. In this specific circumstance on macos we'd like to be able know both that eg: ALT-1 was pressed and that ALT-1 composes to a different unmodified sequence and then allow the user's key binding assignment to potentially match on both. We sort of allowed for this, but didn't separate out the modifier keys. This commit adds a `raw_modifiers` concept to the underlying event struct so that we can carry both the raw key and modifier information as well as the composed key and modifier information. In the scenario above, we want the raw key/modifier tuple to be ALT-1 but the composed key/modifier to be eg: unmodified `¡` in my english keymap. refs: https://github.com/wez/wezterm/issues/158 |
||
---|---|---|
.. | ||
examples | ||
src | ||
build.rs | ||
Cargo.toml |