MCPcopy Create free account
hub / github.com/codeaashu/claude-code / writeStdout

Function writeStdout

web/lib/terminal-compat.ts:56–63  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

54
55/** No-op write stub for web environments. */
56export function writeStdout(data: string): boolean {
57 if (!isWeb) {
58 return process.stdout.write(data);
59 }
60 // In browser, send to console so output isn't silently dropped
61 console.log("[stdout]", data);
62 return true;
63}
64
65// ─── useStdout / useTerminalSize stubs ────────────────────────────────────────
66

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected