( cell: SplitLineCell, lineNumberWidth: number, showLineNumbers: boolean, )
| 121 | } |
| 122 | |
| 123 | function staticSplitGutterText( |
| 124 | cell: SplitLineCell, |
| 125 | lineNumberWidth: number, |
| 126 | showLineNumbers: boolean, |
| 127 | ) { |
| 128 | return splitGutterText(cell, lineNumberWidth, showLineNumbers).padEnd( |
| 129 | showLineNumbers ? lineNumberWidth + 3 : 2, |
| 130 | ); |
| 131 | } |
| 132 | |
| 133 | /** Render one non-interactive stacked diff row as ANSI text. */ |
| 134 | function renderStaticStackRow( |
no test coverage detected