MCPcopy Create free account
hub / github.com/pingdotgg/t3code / writeSystemMessage

Function writeSystemMessage

apps/web/src/components/ThreadTerminalDrawer.tsx:84–86  ·  view source on GitHub ↗
(terminal: Terminal, message: string)

Source from the content-addressed store, hash-verified

82}
83
84function writeSystemMessage(terminal: Terminal, message: string): void {
85 terminal.write(`\r\n[terminal] ${message}\r\n`);
86}
87
88function writeTerminalBuffer(terminal: Terminal, buffer: string): void {
89 terminal.write("\u001bc");

Callers 3

sendTerminalInputFunction · 0.85
TerminalViewportFunction · 0.85
fallbackToBrowserFunction · 0.85

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected