ensure no paste with alt

This commit is contained in:
Casper Rogild Storm 2023-08-05 21:47:02 +02:00
parent cb8b70bec3
commit c81f4676fb

View file

@ -842,7 +842,9 @@ where
shell.publish(message);
}
keyboard::KeyCode::V => {
if state.keyboard_modifiers.command() {
if state.keyboard_modifiers.command()
&& !state.keyboard_modifiers.alt()
{
let content = match state.is_pasting.take() {
Some(content) => content,
None => {