Add 1/10th second delay between key events to VNC

pull/1663/head
Andrew Beresford 12 years ago committed by Andrew Beresford
parent fc6b78b8dd
commit a81c8905fb

@ -200,7 +200,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…
Cancel
Save