mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 18:42:27 +01:00
Tweak revision 13f6e3a205d4 to be less lenient in Input modes by default.
--HG-- extra : rebase_source : efa3bfb79a40002ff21e2006974ad9c142ae2187
This commit is contained in:
@@ -468,6 +468,8 @@ var Modes = Module("modes", {
|
||||
|
||||
ownsFocus: Class.memoize(function ownsFocus() this.bases.length && this.bases.some(function (b) b.ownsFocus)),
|
||||
|
||||
passEvent: function passEvent(event) this.input && event.charCode && !(event.ctrlKey || event.altKey || event.metaKey),
|
||||
|
||||
passUnknown: Class.memoize(function () options.get("passunknown").getKey(this.name)),
|
||||
|
||||
get mask() this,
|
||||
@@ -541,7 +543,7 @@ var Modes = Module("modes", {
|
||||
options: function initOptions() {
|
||||
options.add(["passunknown"],
|
||||
"Pass through unknown keys in these modes",
|
||||
"regexplist", "^input$",
|
||||
"regexplist", "",
|
||||
{
|
||||
regexpFlags: "i",
|
||||
setter: function (val) {
|
||||
|
||||
Reference in New Issue
Block a user