MCPcopy
hub / github.com/bombshell-dev/clack / getRows

Function getRows

packages/core/src/utils/index.ts:94–99  ·  view source on GitHub ↗
(output: Writable)

Source from the content-addressed store, hash-verified

92};
93
94export const getRows = (output: Writable): number => {
95 if ('rows' in output && typeof output.rows === 'number') {
96 return output.rows;
97 }
98 return 20;
99};
100
101export function wrapTextWithPrefix(
102 output: Writable | undefined,

Callers 2

limitOptionsFunction · 0.90
renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected