Use terminal.paste() for middle click paste also
This commit is contained in:
parent
e6fff76abd
commit
449803310b
1 changed files with 1 additions and 1 deletions
|
|
@ -980,7 +980,7 @@ where
|
||||||
} else if let Button::Middle = button {
|
} else if let Button::Middle = button {
|
||||||
#[cfg(target_family = "unix")]
|
#[cfg(target_family = "unix")]
|
||||||
if let Some(value) = clipboard.read_primary() {
|
if let Some(value) = clipboard.read_primary() {
|
||||||
terminal.input_scroll(value.as_bytes().to_vec());
|
terminal.paste(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue