Updating NPM dependencies
This commit is contained in:
4
node_modules/prompts/lib/elements/autocompleteMultiselect.js
generated
vendored
4
node_modules/prompts/lib/elements/autocompleteMultiselect.js
generated
vendored
@@ -21,7 +21,7 @@ class AutocompleteMultiselectPrompt extends MultiselectPrompt {
|
||||
opts.overrideRender = true;
|
||||
super(opts);
|
||||
this.inputValue = '';
|
||||
this.clear = clear('');
|
||||
this.clear = clear('', this.out.columns);
|
||||
this.filteredOptions = this.value;
|
||||
this.render();
|
||||
}
|
||||
@@ -187,7 +187,7 @@ Filtered results for: ${this.inputValue ? this.inputValue : color.gray('Enter so
|
||||
prompt += this.renderOptions(this.filteredOptions);
|
||||
|
||||
this.out.write(this.clear + prompt);
|
||||
this.clear = clear(prompt);
|
||||
this.clear = clear(prompt, this.out.columns);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user