Replace tabs with fixed spaces so terminal cell widths stay predictable.
(text: string)
| 176 | |
| 177 | /** Replace tabs with fixed spaces so terminal cell widths stay predictable. */ |
| 178 | function tabify(text: string) { |
| 179 | return expandDiffTabs(sanitizeTerminalLine(text)); |
| 180 | } |
| 181 | |
| 182 | const EMPTY_STYLE_VALUES = new Map<string, string>(); |
| 183 | // Pierre reuses the same tiny set of inline style strings across many token spans. |
no test coverage detected