Crate wezterm_input_types

Source

Structs§

Handled
KeyEvent
KeyboardLedStatus
KittyKeyboardFlags
ModifierToStringArgs
Modifiers
MouseButtons
MouseEvent
PixelUnit
RawKeyEvent
A key event prior to any dead key or IME composition
ScreenPixelUnit
WindowDecorations

Enums§

IntegratedTitleButton
IntegratedTitleButtonAlignment
IntegratedTitleButtonStyle
KeyCode
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.
MouseEventKind
MousePress
PhysKeyCode
These keycodes identify keys based on their physical position on an ANSI-standard US keyboard.
UIKeyCapRendering

Functions§

ctrl_mapping
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.
is_ascii_control

Type Aliases§

Point
PointF
ScreenPoint