ratatui-toolkit 0.2.6

DEPRECATED: this crate was renamed to `ratkit`. Please migrate to `ratkit`.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// Scope/context for a hotkey.
///
/// Defines the context in which a hotkey is active, allowing
/// for different hotkey sets in different parts of the application.
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub enum HotkeyScope {
    /// Global hotkeys (always active).
    Global,
    /// Modal hotkeys (active when modal is shown).
    Modal(&'static str),
    /// Tab-specific hotkeys.
    Tab(&'static str),
    /// Custom scope.
    Custom(&'static str),
}