MCPcopy Create free account
hub / github.com/Marus/cortex-debug / magentaWrite

Function magentaWrite

src/frontend/pty.ts:18–22  ·  view source on GitHub ↗
(msg: string, pty: PtyTerminal)

Source from the content-addressed store, hash-verified

16}
17
18export function magentaWrite(msg: string, pty: PtyTerminal) {
19 if (pty) {
20 pty.write(BR_MAGENTA_FG + msg + RESET);
21 }
22}
23const controlChars = {};
24const zero = '@'.charCodeAt(0);
25for (let ix = zero; ix <= 'Z'.charCodeAt(0); ix++) {

Callers 8

newBackendConnectionMethod · 0.90
setupTerminalMethod · 0.90
debugMsgStaticMethod · 0.90
connectToSourceMethod · 0.90
onCloseMethod · 0.90
onDataMethod · 0.90
openLogFileMethod · 0.90
tryReuseMethod · 0.90

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected