MCPcopy Create free account
hub / github.com/bombshell-dev/clack / MultiLineOptions

Interface MultiLineOptions

packages/core/src/prompts/multi-line.ts:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7const cursorActions = new Set<CursorAction>(['up', 'down', 'left', 'right']);
8
9export interface MultiLineOptions extends PromptOptions<string, MultiLinePrompt> {
10 placeholder?: string;
11 defaultValue?: string;
12 showSubmit?: boolean;
13}
14
15export default class MultiLinePrompt extends Prompt<string> {
16 #lastKeyWasReturn = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected