Commit cabbe007 authored by Chris Bednarski's avatar Chris Bednarski

Merge pull request #2415 from DrewDahl/fix-qemu-vnc-missed-keys

Add 1/10th second delay between key events to VNC for QEMU
parents 6a2bedb6 1f6137e6
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment