NodeTerminal unstable
Node.js implementation of the Effect Terminal service.
This module reuses the shared Node terminal implementation. make creates a
scoped process-backed Terminal service, and layer provides the default
service with the standard quit behavior for key input.
Constructors
Creates a scoped Terminal service backed by process stdin/stdout.
By default, Esc, Ctrl+C, and Ctrl+D end key input. Supply shouldQuit to
override these quit keys.
Signature
declare const make: (shouldQuit?: (input: UserInput) => boolean) => Effect<Terminal, never, Scope>