MCPcopy
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

inputNamePatternFunction · 0.70
inputProjectNameFunction · 0.70
inputFilePatternFunction · 0.70
onFunction · 0.70
registerConsoleShortcutsFunction · 0.70

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected