* Determines if content should be split based on its estimated height.
(content: string, terminalWidth: number)
| 165 | * Determines if content should be split based on its estimated height. |
| 166 | */ |
| 167 | function shouldSplitContent(content: string, terminalWidth: number): boolean { |
| 168 | const estimatedHeight = estimateContentHeight(content, terminalWidth); |
| 169 | return estimatedHeight > MAX_HEIGHT_BEFORE_SPLIT; |
| 170 | } |
no test coverage detected