Commit 23736408 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

Merge pull request #1663 from beezly/fix-vnc-missed-keys

Add 1/10th second delay between key events to VNC
parents 50fef50e 3b89912c
......@@ -201,7 +201,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