Adapt write_primary to libcosmic changes
This commit is contained in:
parent
ff473d2509
commit
51eb4c5d02
1 changed files with 1 additions and 1 deletions
|
|
@ -1652,7 +1652,7 @@ impl Application for App {
|
||||||
let terminal = terminal.lock().unwrap();
|
let terminal = terminal.lock().unwrap();
|
||||||
let term = terminal.term.lock();
|
let term = terminal.term.lock();
|
||||||
if let Some(text) = term.selection_to_string() {
|
if let Some(text) = term.selection_to_string() {
|
||||||
return clipboard::write_primary(text);
|
return Command::batch([clipboard::write_primary(text), self.update_focus()]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue