A comprehensive collection of reusable TUI components for ratatui including resizable splits, tree views, markdown rendering, toast notifications, dialogs, and terminal embedding
usecrossterm::event::KeyCode;usecrate::primitives::tree_view::keybindings::TreeKeyBindings;implTreeKeyBindings{/// Set custom keybindings for collapse
pubfnwith_collapse(mutself, keys:Vec<KeyCode>)->Self{self.collapse = keys;self}}