MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / emit

Function emit

src/setup/prompt.ts:129–129  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

127 const cols = (stdout.columns && stdout.columns > 0) ? stdout.columns : 80;
128 let physical = 0;
129 const emit = (s: string): void => { stdout.write(s + '\n'); physical += physicalRows(s, cols); };
130
131 const end = Math.min(options.length, top + pageSize);
132

Callers 1

renderFunction · 0.85

Calls 2

physicalRowsFunction · 0.70
writeMethod · 0.45

Tested by

no test coverage detected