Release key with longer delay.
This commit is contained in:
parent
cff0969b36
commit
b8079b5c68
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ fn send_paste() {
|
|||
send_with_delay(EventType::KeyPress(Key::KeyV), 100);
|
||||
|
||||
// Release both keys
|
||||
send_with_delay(EventType::KeyRelease(Key::KeyV), 0);
|
||||
send_with_delay(EventType::KeyRelease(Key::KeyV), 100);
|
||||
send_with_delay(EventType::KeyRelease(modifier_key), 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue