DenoTerminal unstable
Deno-backed implementation of Effect's Terminal service.
This module reuses the shared Node terminal implementation for Deno. make
creates a scoped process-backed Terminal service, and layer provides the
default terminal 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>