1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 21:24:11 +01:00

Fix <C-v> in PASS THROUGH mode. Closes issue #223.

This commit is contained in:
Kris Maglione
2010-12-31 17:19:40 -05:00
parent ce6d472a76
commit 3c80d33c67
4 changed files with 6 additions and 4 deletions

View File

@@ -64,6 +64,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
mod.destroy();
}
}
for (let name in values(Object.getOwnPropertyNames(modules).reverse()))
try {
delete modules[name];

View File

@@ -108,7 +108,7 @@ var Modes = Module("modes", {
hidden: true,
description: "Quote mode: The next key sequence is ignored by " + config.appName + ", unless in Pass Through mode",
display: function () modes.getStack(1).main == modes.PASS_THROUGH
? (modes.getStack(2).main.display() || modes.getStack(2).mainMode.name) + " (next)"
? (modes.getStack(2).main.display() || modes.getStack(2).main.name) + " (next)"
: "PASS THROUGH (next)"
}, {
// Fix me.