mirror of
https://github.com/Stone-Red-Code/ClipCMD.git
synced 2026-09-04 00:46:10 +02:00
Decrease delay before and after paste
This commit is contained in:
@@ -224,13 +224,13 @@ public class ClipCmdCommandHandler(Window window)
|
||||
|
||||
if (autoPaste)
|
||||
{
|
||||
await Task.Delay(50);
|
||||
await Task.Delay(10);
|
||||
_ = simulator.SimulateKeyPress(KeyCode.VcLeftControl);
|
||||
_ = simulator.SimulateKeyPress(KeyCode.VcV);
|
||||
|
||||
_ = simulator.SimulateKeyRelease(KeyCode.VcLeftControl);
|
||||
_ = simulator.SimulateKeyRelease(KeyCode.VcV);
|
||||
await Task.Delay(50);
|
||||
await Task.Delay(10);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user