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

Function setRawMode

packages/core/src/utils/index.ts:21–25  ·  view source on GitHub ↗
(input: Readable, value: boolean)

Source from the content-addressed store, hash-verified

19}
20
21export function setRawMode(input: Readable, value: boolean) {
22 const i = input as typeof stdin;
23
24 if (i.isTTY) i.setRawMode(value);
25}
26
27interface BlockOptions {
28 input?: Readable;

Callers 2

promptMethod · 0.85
closeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected