aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--char-hints-mod2.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/char-hints-mod2.js b/char-hints-mod2.js
index 7b7afbe..66c2d89 100644
--- a/char-hints-mod2.js
+++ b/char-hints-mod2.js
@@ -87,12 +87,14 @@ set histchars="hjkl" => show char-hint use h, j, k, l.
}
if(hintChars.length>0) {
let numstr = String(chars2num(hintChars.join('')));
- for(let i=0;i<numstr.length;++i) {
- let num = numstr[i];
- let alt = new Object;
- alt.liberatorString = num;
- hints.onEvent(alt);
- }
+ setTimeout(function() {
+ for(let i=0;i<numstr.length;++i) {
+ let num = numstr[i];
+ let alt = new Object;
+ alt.liberatorString = num;
+ hints.onEvent(alt);
+ }
+ }, 10);
}
}, //}}}
};