Fix cannot select in terminal when copy_on_select is enabled (#34131)
Closes #33989  Release Notes: - N/A
This commit is contained in:
parent
cf1ce1beed
commit
84124c60db
2 changed files with 12 additions and 12 deletions
|
@ -715,7 +715,7 @@ impl TerminalView {
|
|||
|
||||
///Attempt to paste the clipboard into the terminal
|
||||
fn copy(&mut self, _: &Copy, _: &mut Window, cx: &mut Context<Self>) {
|
||||
self.terminal.update(cx, |term, _| term.copy());
|
||||
self.terminal.update(cx, |term, _| term.copy(None));
|
||||
cx.notify();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue