Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ off
Function
off
packages/vitest/src/node/stdin.ts:259–266 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
257
}
258
259
function
off() {
260
rl?.close()
261
rl = undefined
262
stdin.removeListener(
'keypress'
, keypressHandler)
263
if
(stdin.isTTY) {
264
stdin.setRawMode(false)
265
}
266
}
267
268
on()
269
Callers
5
inputNamePattern
Function · 0.70
inputProjectName
Function · 0.70
inputFilePattern
Function · 0.70
on
Function · 0.70
registerConsoleShortcuts
Function · 0.70
Calls
1
close
Method · 0.45
Tested by
no test coverage detected