Wait after paste.

This commit is contained in:
Simo Kinnunen
2014-12-02 19:54:30 +09:00
parent ba5d245c53
commit f1f32f29a7

View File

@@ -310,6 +310,7 @@ module.exports = syrup.serial()
plugin.paste = function(text) {
return plugin.setClipboard(text)
.delay(500) // Give it a little bit of time to settle.
.then(function() {
keyEvent({
event: apk.wire.KeyEvent.PRESS