mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-26 22:55:47 +01:00
Fix some key handling issues mainly effecting Text Edit mode.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user