(text: string, width: number)
| 106 | } |
| 107 | |
| 108 | function fixedWidthText(text: string, width: number) { |
| 109 | const visible = sliceTextByWidth(text, 0, width); |
| 110 | return `${visible.text}${" ".repeat(Math.max(0, width - visible.width))}`; |
| 111 | } |
| 112 | |
| 113 | function staticStackGutterText( |
| 114 | cell: Extract<DiffRow, { type: "stack-line" }>["cell"], |
no test coverage detected