limit view to 10 entries

This commit is contained in:
Timo Hocker 2020-05-18 13:08:05 +02:00
parent de1c73e425
commit 71d4858189

View File

@ -40,7 +40,8 @@ export class InteractiveSource extends OptionSource {
value = await new AutoComplete ({ value = await new AutoComplete ({
message: this.get_message (opt), message: this.get_message (opt),
default: opt.default, default: opt.default,
choices: opt.preset choices: opt.preset,
limit: 10
}) })
.run (); .run ();
} }