MCPcopy Index your code
hub / github.com/Effect-TS/effect / shouldQuit

Function shouldQuit

packages/cli/test/services/MockTerminal.ts:94–95  ·  view source on GitHub ↗
(input: Terminal.UserInput)

Source from the content-addressed store, hash-verified

92// =============================================================================
93
94const shouldQuit = (input: Terminal.UserInput): boolean =>
95 input.key.ctrl && (input.key.name === "c" || input.key.name === "d")
96
97const toUserInput = (
98 key: string,

Callers 2

handleKeypressFunction · 0.85
inputKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected