Use terminal.paste() for middle click paste also

This commit is contained in:
Mattias Eriksson 2024-01-21 16:56:23 +01:00
parent e6fff76abd
commit 449803310b

View file

@ -980,7 +980,7 @@ where
} else if let Button::Middle = button {
#[cfg(target_family = "unix")]
if let Some(value) = clipboard.read_primary() {
terminal.input_scroll(value.as_bytes().to_vec());
terminal.paste(value);
}
}