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