1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 17:04:12 +01:00

Some 'timeout' compromises: Guess whether there are native bindings for a key, execute a timeout if so.

This commit is contained in:
Kris Maglione
2011-06-27 19:28:59 -04:00
parent b5b504f051
commit bfb111894c
3 changed files with 18 additions and 12 deletions

View File

@@ -478,7 +478,8 @@ var Mappings = Module("mappings", {
}
if (args[1] && !/^<nop>$/i.test(args[1])
&& !args["-count"] && !args["-ex"] && !args["-javascript"])
&& !args["-count"] && !args["-ex"] && !args["-javascript"]
&& mapmodes.every(function (m) m.count))
args[1] = "<count>" + args[1];
let [lhs, rhs] = args;