ratatui_toolkit/primitives/tree_view/keybindings/methods/
with_goto_bottom.rs

1use crossterm::event::KeyCode;
2
3use crate::primitives::tree_view::keybindings::TreeKeyBindings;
4
5impl TreeKeyBindings {
6    /// Set custom keybindings for goto bottom
7    pub fn with_goto_bottom(mut self, keys: Vec<KeyCode>) -> Self {
8        self.goto_bottom = keys;
9        self
10    }
11}