mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-30 10:42:28 +01:00
Hack to hide -- COMMAND LINE -- with MOW open (what the... does multiline out mode have to do with command-line mode, anyway?)
This commit is contained in:
@@ -272,8 +272,10 @@ const CompletionContext = Class("CompletionContext", {
|
||||
|
||||
get completions() this._completions || [],
|
||||
set completions(items) {
|
||||
if (items && isArray(items.array))
|
||||
items = items.array;
|
||||
// Accept a generator
|
||||
if (items && !(isArray(items) || isArray(items.__proto__)))
|
||||
if (!isArray(items))
|
||||
items = [x for (x in Iterator(items || []))];
|
||||
if (this._completions !== items) {
|
||||
delete this.cache.filtered;
|
||||
|
||||
Reference in New Issue
Block a user