mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-11 00:45:45 +01:00
Block invalid keys in VISUAL TEXT EDIT mode and add v_x mapping. Closes issue #182.
This commit is contained in:
@@ -969,7 +969,7 @@ const Events = Module("events", {
|
||||
this._input.motionCount = null;
|
||||
|
||||
if (!isEscape(key)) {
|
||||
stop = (mode.main == modes.TEXT_EDIT);
|
||||
stop = (mode.main & (modes.TEXT_EDIT | modes.VISUAL));
|
||||
if (stop)
|
||||
dactyl.beep();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user