(bg: AnsiCode | null)
| 265 | private selectionBgCode: AnsiCode | null = null |
| 266 | private selectionBgCache = new Map<number, number>() |
| 267 | setSelectionBg(bg: AnsiCode | null): void { |
| 268 | if (this.selectionBgCode?.code === bg?.code) return |
| 269 | this.selectionBgCode = bg |
| 270 | this.selectionBgCache.clear() |
| 271 | } |
| 272 | withSelectionBg(baseId: number): number { |
| 273 | const bg = this.selectionBgCode |
| 274 | if (bg === null) return this.withInverse(baseId) |
no test coverage detected