mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 10:04:12 +01:00
Don't treat <C-c> specially in pass-through mode. Closes issue #160.
--HG-- extra : rebase_source : 95b34d6df9705042fca26aeaf63f51d57131458b
This commit is contained in:
@@ -807,9 +807,6 @@ const Events = Module("events", {
|
||||
});
|
||||
}
|
||||
|
||||
if (key == "<C-c>")
|
||||
util.interrupted = true;
|
||||
|
||||
// feedingKeys needs to be separate from interrupted so
|
||||
// we can differentiate between a recorded <C-c>
|
||||
// interrupting whatever it's started and a real <C-c>
|
||||
@@ -862,6 +859,9 @@ const Events = Module("events", {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (key == "<C-c>")
|
||||
util.interrupted = true;
|
||||
|
||||
stop = true; // set to false if we should NOT consume this event but let the host app handle it
|
||||
|
||||
// XXX: ugly hack for now pass certain keys to the host app as
|
||||
|
||||
Reference in New Issue
Block a user