Implement select all

This commit is contained in:
Jeremy Soller 2023-12-22 15:08:24 -07:00
parent 40c871bcf3
commit 2a4d9f0d28
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
2 changed files with 17 additions and 2 deletions

View file

@ -456,7 +456,8 @@ impl Application for App {
Message::SelectAll(entity_opt) => {
let entity = entity_opt.unwrap_or_else(|| self.tab_model.active());
if let Some(terminal) = self.tab_model.data::<Mutex<Terminal>>(entity) {
log::warn!("TODO: SELECT ALL");
let mut terminal = terminal.lock().unwrap();
terminal.select_all();
}
}
Message::SystemThemeModeChange(_theme_mode) => {