1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-06 16:35:46 +01:00

Merge changes from bootstrapped.

This commit is contained in:
Kris Maglione
2010-12-27 09:38:05 -05:00
parent 47167e769e
commit 7a0f693ad4
3 changed files with 11 additions and 12 deletions

View File

@@ -241,15 +241,15 @@ var Events = Module("events", {
* @returns {boolean}
*/
feedkeys: function (keys, noremap, quiet, mode) {
let wasFeeding = this.feedingKeys;
this.feedingKeys = true;
this.duringFeed = this.duringFeed || [];
let wasQuiet = commandline.quiet;
if (quiet)
commandline.quiet = quiet;
try {
var wasFeeding = this.feedingKeys;
this.feedingKeys = true;
this.duringFeed = this.duringFeed || [];
var wasQuiet = commandline.quiet;
if (quiet)
commandline.quiet = quiet;
util.threadYield(1, true);
for (let [, evt_obj] in Iterator(events.fromString(keys))) {