[][src]Module alacritty::input

Handle input from glutin.

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.

Structs

Processor

Processes input from glutin.

Enums

MouseState

Constants

FONT_SIZE_STEP

Font size change interval.

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

ActionContext
Execute

Functions

paste