1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +03:00
wezterm/window
Wez Furlong 9ff9bf15fd window: allow for stronger separation between raw and composed keys
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
2020-05-28 19:35:50 -07:00
..
examples macos: fix light background/border 2020-01-26 19:04:34 -08:00
src window: allow for stronger separation between raw and composed keys 2020-05-28 19:35:50 -07:00
build.rs window: use wgl for opengl on windows 2019-10-24 19:12:18 -07:00
Cargo.toml upgrade to latest smithay client toolkit 2020-05-03 10:31:30 -07:00