1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 02:32:29 +01:00

Fix the completion list popping up after the command line closes in corner cases.

This commit is contained in:
Kris Maglione
2010-10-04 18:09:52 -04:00
parent 871085f917
commit 9b3e28cb42

View File

@@ -225,7 +225,7 @@ const CommandLine = Module("commandline", {
/////////////////////////////////////////////////////////////////////////////{{{
this._autocompleteTimer = Timer(200, 500, function autocompleteTell(tabPressed) {
dactyl.trapErrors(function () {
dactyl.trapErrors(function _autocompleteTell() {
if (!events.feedingKeys && self._completions && options["autocomplete"].length) {
self._completions.complete(true, false);
if (self._completions)
@@ -492,6 +492,8 @@ const CommandLine = Module("commandline", {
},
currentExtendedMode: Modes.boundProperty(),
_completions: Modes.boundProperty(),
_history: Modes.boundProperty(),
_lastClearable: Modes.boundProperty(),
_keepCommand: Modes.boundProperty(),