(text: string, fg: string, bg: string, theme: AppTheme)
| 102 | const marker = diffRailMarker; |
| 103 | |
| 104 | function renderHeaderLikeRow(text: string, fg: string, bg: string, theme: AppTheme) { |
| 105 | return `${colorText(marker(), neutralRailColor(theme), bg)}${colorText(text.trimEnd(), fg, bg)}`; |
| 106 | } |
| 107 | |
| 108 | function fixedWidthText(text: string, width: number) { |
| 109 | const visible = sliceTextByWidth(text, 0, width); |
no test coverage detected