MCPcopy
hub / github.com/codeaashu/claude-code / handleSuspend

Function handleSuspend

src/screens/REPL.tsx:4124–4127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4122 const [remountKey, setRemountKey] = useState(0);
4123 useEffect(() => {
4124 const handleSuspend = () => {
4125 // Print suspension instructions
4126 process.stdout.write(`\nClaude Code has been suspended. Run \`fg\` to bring Claude Code back.\nNote: ctrl + z now suspends Claude Code, ctrl + _ undoes input.\n`);
4127 };
4128 const handleResume = () => {
4129 // Force complete component tree replacement instead of terminal clear
4130 // Ink now handles line count reset internally on SIGCONT

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected