fix send-key waiting time for --holdtime
Merge pull request #310 from kylazhang/sendkey-fix

fix send-key waiting time for --holdtime