PromptMultipleSelectOptions

import { PromptMultipleSelectOptions } from "jsr:@ende/cli/unstable-prompt-multiple-select";

interface ยท experimental

interface PromptMultipleSelectOptions

Options for promptMultipleSelect.

Properties

clear

clear?: boolean

Clear the lines after the user's input.

visibleLines

visibleLines?: number

The number of lines to be visible at once

indicator

indicator?: string

The string to indicate the selected item

fitToRemainingHeight

fitToRemainingHeight?: boolean

If 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.

Source