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
16
mod constructors;
mod methods;

use crossterm::event::KeyCode;

/// Configurable keybindings for tree navigation
#[derive(Debug, Clone)]
pub struct TreeKeyBindings {
    pub next: Vec<KeyCode>,
    pub previous: Vec<KeyCode>,
    pub expand: Vec<KeyCode>,
    pub collapse: Vec<KeyCode>,
    pub toggle: Vec<KeyCode>,
    pub goto_top: Vec<KeyCode>,
    pub goto_bottom: Vec<KeyCode>,
}