Skip to main content

Module history

Module history 

Source
Expand description

History keys (e.g. Repeat last output). History keys: behaviours that depend on previously resolved key output.

v1 provides Key::Repeat, which re-emits the last remembered crate::key::KeyOutput as the pressed key’s own output while held.

Structs§

Context
Context for history keys: tracks the last rememberable resolved output.
Event
Events for history keys. (None for v1.)
KeyState
Pressed state: the output being repeated (if any) for the hold duration.
PendingKeyState
Pending key state type for history keys. (No pending state.)
Ref
Reference for a history key.
System
The key::System implementation for history keys.

Enums§

Key
History key kinds.

Functions§

is_rememberable
Whether a resolved key::KeyOutput should become the remembered last output.