import { type ListOptions } from "https://deno.land/x/netzo@0.5.63/deps/question/mod.ts";
Properties
The maximum amount of items visible at one time.
Default: The amount of items passed in.
The pattern to repeat for when there are more items either above or below the current globalThis.
Default: -
The pattern to repeat for when there are no additional items either above or below the current globalThis.
Default: =
Whether or not to offset the selected item while going through the item list. If there are more items above or below (if enabled) it will select the next to last or first of the window always leaving 1 item offset if more items are available.
Default: true
Should the options be able to be filtered.
With filtering enabled any key the user is inputting will go into a search field. The list will then filter the options by their label.
This option accepts an object for more granular control of the filtering and sorting of the results.
Default: false