Fix Copy action being triggered without any modifiers
This commit is contained in:
parent
8e6e37e0ce
commit
f7fc13d98c
1 changed files with 3 additions and 1 deletions
|
|
@ -421,7 +421,9 @@ impl Update {
|
|||
keyboard::KeyCode::Backspace => edit(Action::Backspace),
|
||||
keyboard::KeyCode::Delete => edit(Action::Delete),
|
||||
keyboard::KeyCode::Escape => Some(Self::Unfocus),
|
||||
keyboard::KeyCode::C => Some(Self::Copy),
|
||||
keyboard::KeyCode::C if modifiers.command() => {
|
||||
Some(Self::Copy)
|
||||
}
|
||||
keyboard::KeyCode::V
|
||||
if modifiers.command() && !modifiers.alt() =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue