mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 06:22:26 +01:00
Minor key processing tweaks.
This commit is contained in:
@@ -144,10 +144,10 @@ var Modes = Module("modes", {
|
||||
// Fix me.
|
||||
preExecute: function (map) { if (modes.main == modes.QUOTE && map.name !== "<C-v>") modes.pop(); },
|
||||
postExecute: function (map) { if (modes.main == modes.QUOTE && map.name === "<C-v>") modes.pop(); },
|
||||
onKeyPress: function () { if (modes.main == modes.QUOTE) modes.pop() }
|
||||
onKeyPress: function (events) { if (modes.main == modes.QUOTE) modes.pop(); }
|
||||
});
|
||||
this.addMode("IGNORE", { hidden: true }, {
|
||||
onKeyPress: function (event) Events.KILL,
|
||||
onKeyPress: function (events) Events.KILL,
|
||||
bases: [],
|
||||
passthrough: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user