1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-18 08:13:33 +01:00

Fix key mapping fallthrough bug.

This commit is contained in:
Kris Maglione
2011-02-19 05:03:50 -05:00
parent 6fb8196344
commit 29e9c51eb8

View File

@@ -361,8 +361,10 @@ var Contexts = Module("contexts", {
case "-keys": case "-keys":
let silent = args["-silent"]; let silent = args["-silent"];
rhs = events.canonicalKeys(rhs, true); rhs = events.canonicalKeys(rhs, true);
var action = function action() events.feedkeys(action.macro(makeParams(this, arguments)), var action = function action() {
noremap, silent); events.feedkeys(action.macro(makeParams(this, arguments)),
noremap, silent);
}
action.macro = util.compileMacro(rhs, true); action.macro = util.compileMacro(rhs, true);
break; break;
case "-ex": case "-ex":