PromptSelectOptions
import { PromptSelectOptions } from "jsr:@ende/cli/unstable-prompt-select";interface ยท experimental
interface PromptSelectOptionsOptions for promptSelect.
Properties
clear
clear?: booleanClear the lines after the user's input.
visibleLines
visibleLines?: numberThe number of lines to be visible at once
indicator
indicator?: stringThe string to indicate the selected item
fitToRemainingHeight
fitToRemainingHeight?: booleanIf true, the visible lines will be calculated based on the remaining height from the current cursor position instead of using the full screen height. This is useful when you have content above the prompt that should remain visible.