Skip to main content

ratatui_toolkit/vt100_term/keybindings/methods/
with_copy_move_up.rs

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