(index: number)
| 18 | } |
| 19 | |
| 20 | function visibleSpaceStyle(index: number): AnsiCode { |
| 21 | return { |
| 22 | code: `\x1b[48;5;${index % 256}m-${index}`, |
| 23 | endCode: '\x1b[49m', |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | function fillRawStyles(pool: StylePool, rawStyleCount: number): void { |
| 28 | for (let i = 1; i < rawStyleCount; i += 1) { |