Crate wezterm_input_types
source ·Structs§
- A key event prior to any dead key or IME composition
Enums§
- Which key is pressed. Not all of these are probable to appear on most systems. A lot of this list is @wez trawling docs and making an entry for things that might be possible in this first pass.
- These keycodes identify keys based on their physical position on an ANSI-standard US keyboard.
Functions§
- Map c to its Ctrl equivalent. In theory, this mapping is simply translating alpha characters to upper case and then masking them by 0x1f, but xterm inherits some built-in translation from legacy X11 so that are some aliased mappings and a couple that might be technically tied to US keyboard layout (particularly the punctuation characters produced in combination with SHIFT) that may not be 100% the right thing to do here for users with non-US layouts.