ensure no paste with alt
This commit is contained in:
parent
cb8b70bec3
commit
c81f4676fb
1 changed files with 3 additions and 1 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue