Skip to main content

ratatui_toolkit/vt100_term/keybindings/methods/
with_copy_move_down.rs

1//! VT100TermKeyBindings::with_copy_move_down builder method
2
3use crate::vt100_term::keybindings::VT100TermKeyBindings;
4use crossterm::event::KeyCode;
5
6impl VT100TermKeyBindings {
7    /// Set the keys to move down in copy mode
8    pub fn with_copy_move_down(mut self, keys: Vec<KeyCode>) -> Self {
9        self.copy_move_down = keys;
10        self
11    }
12}