(bg: AnsiCode | null)
| 237 | private selectionBgCode: AnsiCode | null = null |
| 238 | private selectionBgCache = new Map<number, number>() |
| 239 | setSelectionBg(bg: AnsiCode | null): void { |
| 240 | if (this.selectionBgCode?.code === bg?.code) return |
| 241 | this.selectionBgCode = bg |
| 242 | this.selectionBgCache.clear() |
| 243 | } |
| 244 | withSelectionBg(baseId: number): number { |
| 245 | const bg = this.selectionBgCode |
| 246 | if (bg === null) return this.withInverse(baseId) |
no test coverage detected