NodeTerminal
Shared Node.js implementation of Effect's Terminal service.
NodeTerminal adapts Node's readline APIs plus the current process stdin and stdout streams into Terminal.Terminal. The service can display output, read a line, stream key input, and read terminal dimensions. make manages readline and TTY raw mode in a scope, while layer provides the default service that ends key input on Ctrl+C or Ctrl+D.
Creates a scoped process-backed
Terminalusing Nodereadline, enabling TTY raw mode while in scope and using the supplied predicate to decide when key input should end.