Struct alacritty::input::Processor[][src]

pub struct Processor<T: EventListener, A: ActionContext<T>> {
    pub ctx: A,
    _phantom: PhantomData<T>,
}
Expand description

Processes input from glutin.

An escape sequence may be emitted in case specific keys or key combinations are activated.

Fields

ctx: A_phantom: PhantomData<T>

Implementations

Handle events from glutin.

Doesn’t take self mutably due to borrow checking.

Check which side of a cell an X coordinate lies on.

Handle left click selection and vi mode cursor movement.

Process key input.

Modifier state change.

Reset mouse cursor based on modifier and terminal state.

Process a received character.

Attempt to find a binding and execute its action.

The provided mode, mods, and key must match what is allowed by a binding for its action to be executed.

Attempt to find a binding and execute its action.

The provided mode, mods, and key must match what is allowed by a binding for its action to be executed.

Check mouse icon state in relation to the message bar.

Icon state of the cursor.

Handle automatic scrolling when selecting above/below the window.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.