MCPcopy Index your code
hub / github.com/bombshell-dev/clack / getColumns

Function getColumns

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

Source from the content-addressed store, hash-verified

85}
86
87export const getColumns = (output: Writable): number => {
88 if ('columns' in output && typeof output.columns === 'number') {
89 return output.columns;
90 }
91 return 80;
92};
93
94export const getRows = (output: Writable): number => {
95 if ('rows' in output && typeof output.rows === 'number') {

Callers 7

spinner.test.tsFile · 0.90
taskLogFunction · 0.90
noteFunction · 0.90
limitOptionsFunction · 0.90
boxFunction · 0.90
spinnerFunction · 0.90
wrapTextWithPrefixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected