Add 1/10th second delay between key events to VNC for QEMU
This commit is contained in:
parent
da749e2470
commit
1f6137e636
|
@ -177,7 +177,9 @@ func vncSendString(c *vnc.ClientConn, original string) {
|
|||
}
|
||||
|
||||
c.KeyEvent(keyCode, true)
|
||||
time.Sleep(time.Second/10)
|
||||
c.KeyEvent(keyCode, false)
|
||||
time.Sleep(time.Second/10)
|
||||
|
||||
if keyShift {
|
||||
c.KeyEvent(KeyLeftShift, false)
|
||||
|
|
Loading…
Reference in New Issue