1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 20:52:28 +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":
let silent = args["-silent"];
rhs = events.canonicalKeys(rhs, true);
var action = function action() events.feedkeys(action.macro(makeParams(this, arguments)),
noremap, silent);
var action = function action() {
events.feedkeys(action.macro(makeParams(this, arguments)),
noremap, silent);
}
action.macro = util.compileMacro(rhs, true);
break;
case "-ex":