mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 22:42:48 +03:00
2dcf7ad98d
This commit teaches the termwiz layer about positional modifiers, and expands our modifier concept to also pass through led states such as caps lock and num lock. Those aren't actually keyboard modifiers, but the state is useful to recognize. Adjust the shift key normalization so that we don't uppercase alpha characters when both SHIFT and CAPS_LOCK are held. This processing will remove both SHIFT and CAPS_LOCK in that situation. Add a method to KeyEvent that will undo the OS keyboard layer normalization of positional to generic modifier key presses. eg: the OS may map LeftControl -> Control, but we actually prefer to have LeftControl so if we can unambiguously reverse that mapping, we do so. refs: #3476 refs: #3475 |
||
---|---|---|
.. | ||
examples | ||
src | ||
build.rs | ||
Cargo.toml | ||
LICENSE.md |