Update libcosmic

This commit is contained in:
Jeremy Soller 2024-04-26 10:24:07 -06:00
parent 97523f689d
commit f720e63793
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
3 changed files with 461 additions and 328 deletions

View file

@ -1694,7 +1694,10 @@ impl Application for App {
let terminal = terminal.lock().unwrap();
let term = terminal.term.lock();
if let Some(text) = term.selection_to_string() {
return Command::batch([clipboard::write_primary(text), self.update_focus()]);
return Command::batch([
clipboard::write_primary(text),
self.update_focus(),
]);
}
}
} else {