mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 00:28:00 +01:00
Fix closing the MOW after using hints.
This commit is contained in:
@@ -470,7 +470,7 @@ const Hints = Module("hints", {
|
||||
|
||||
this.timeout(function () {
|
||||
if (modes.extended & modes.HINTS)
|
||||
modes.reset();
|
||||
modes.pop();
|
||||
this._hintMode.action(elem, elem.href || "", this._extendedhintCount);
|
||||
}, timeout);
|
||||
return true;
|
||||
@@ -763,7 +763,7 @@ const Hints = Module("hints", {
|
||||
|
||||
if (this._validHints.length == 0) {
|
||||
dactyl.beep();
|
||||
modes.reset();
|
||||
modes.pop();
|
||||
}
|
||||
else if (this._validHints.length == 1)
|
||||
this._processHints(false);
|
||||
@@ -833,8 +833,8 @@ const Hints = Module("hints", {
|
||||
|
||||
case mappings.getMapLeader():
|
||||
hints.escNumbers = !hints.escNumbers;
|
||||
if (hints.escNumbers && this._usedTabKey) // this._hintNumber not used normally, but someone may wants to toggle
|
||||
this._hintNumber = 0; // <tab>s ? this._reset. Prevent to show numbers not entered.
|
||||
if (hints.escNumbers && this._usedTabKey)
|
||||
this._hintNumber = 0;
|
||||
|
||||
this._updateStatusline();
|
||||
return;
|
||||
|
||||
@@ -36,7 +36,6 @@ BUGS:
|
||||
bookmark - they're being set after the observer triggers the autocmd event.
|
||||
- :messages is _very_ slow for message history of several thousand lines ->
|
||||
Unresponsive Script: util.js:79 (sometimes xmlToDom() and elsewhere)
|
||||
- The MOW shouldn't close when executing hints and ;F isn't working.
|
||||
|
||||
FEATURES:
|
||||
9 Add quoting help tag
|
||||
|
||||
Reference in New Issue
Block a user