Expand description
Handle input from winit.
Certain key combinations should send some escape sequence back to the PTY. In order to figure that out, state about which modifier keys are pressed needs to be tracked. Additionally, we need a bit of a state machine to determine what to do when a non-modifier key is pressed.
Modulesยง
Structsยง
- Processor
- Processes input from winit.
Constantsยง
- CLICK_
THRESHOLD ๐ - Threshold used for double_click/triple_click.
- FONT_
SIZE_ STEP - Font size change interval in px.
- MAX_
TAP_ ๐DISTANCE - Distance before a touch input is considered a drag.
- MIN_
SELECTION_ ๐SCROLLING_ HEIGHT - Minimum number of pixels at the bottom/top where selection scrolling is performed.
- SELECTION_
SCROLLING_ ๐INTERVAL - Interval for mouse scrolling during selection outside of the boundaries.
- SELECTION_
SCROLLING_ ๐STEP - Number of pixels for increasing the selection scrolling speed factor by one.
Traitsยง
- Action
Context - Execute ๐