1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-26 17:05:46 +01:00

Fix some key handling issues mainly effecting Text Edit mode.

This commit is contained in:
Kris Maglione
2011-01-20 06:07:29 -05:00
parent dfc7f8d33a
commit ae58cfa71c

View File

@@ -988,10 +988,14 @@ var Events = Module("events", {
if (!processors.some(function (p) p.main.ownsBuffer)) if (!processors.some(function (p) p.main.ownsBuffer))
statusline.updateInputBuffer(buffer); statusline.updateInputBuffer(buffer);
if (waiting) if (waiting) {
res = Events.KILL;
this._processors = processors; this._processors = processors;
else if (res === Events.KILL && (mode.main & (modes.TEXT_EDIT | modes.VISUAL))) }
if (res !== Events.KILL && (mode.main & (modes.TEXT_EDIT | modes.VISUAL))) {
res = Events.KILL;
dactyl.beep(); dactyl.beep();
}
if (res !== Events.PASS && !isArray(res)) if (res !== Events.PASS && !isArray(res))
refeed = null; refeed = null;