Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
export
function
setRawMode(input: Readable, value: boolean) {
22
const
i = input as typeof stdin;
23
24
if
(i.isTTY) i.setRawMode(value);
25
}
26
27
interface
BlockOptions {
28
input?: Readable;
Callers
2
prompt
Method · 0.85
close
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected