Skip to main content

DEFAULT_KEYBINDINGS

Constant DEFAULT_KEYBINDINGS 

Source
pub const DEFAULT_KEYBINDINGS: &[(GlobalAction, &str)];
Expand description

Default bindings. Combos mirror the keys that were hardcoded in the input dispatch before this module existed (settings-panel work) plus the keys introduced by feat/tui-omp-ideas (Submit, ScrollUp/Down, Clear, Help, ModelPicker, ToggleThinking). The order matters: GlobalAction::all / Keymap::resolve iterate in this order, so when two actions share a combo (only reachable via user overrides) the earlier action wins — deterministically across runs.