1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:27:59 +01:00

Allow mapping keys in HINT and other modes. Closes issue #10. Closes issue #158.

This commit is contained in:
Kris Maglione
2010-12-22 15:32:19 -05:00
parent 797bf92c27
commit c65758864d
6 changed files with 265 additions and 187 deletions

View File

@@ -464,7 +464,8 @@ const CommandLine = Module("commandline", {
leave: function (params) {
if (params.pop)
commandline.leave();
}
},
mainMode: this.currentExtendedMode
});
this.currentExtendedMode = extendedMode || null;
@@ -736,7 +737,8 @@ const CommandLine = Module("commandline", {
leave: function leave(stack) {
commandline.leave(stack);
leave.supercall(this, stack);
}
},
mainMode: extra.extended || modes.PROMPT
}));
this.currentExtendedMode = modes.PROMPT;