Skip to content

@jsvision/core / TerminalQueryOptions

Interface: TerminalQueryOptions

Defined in: host/terminal-query.ts:24

Options for createTerminalQuery. Both streams default to the process standard streams. The plain readable/writable stream types (not the tty subtypes) are used so an in-memory stream can drive the adapter in tests; process.stdin/process.stdout satisfy them too.

Properties

input?

readonly optional input?: ReadableStream

Defined in: host/terminal-query.ts:26

Stream to read terminal responses from. Default: process.stdin.


output?

readonly optional output?: WritableStream

Defined in: host/terminal-query.ts:28

Stream to write query requests to. Default: process.stdout.