(resolved: ResolvedTheme)
| 2513 | } |
| 2514 | |
| 2515 | private async applyResolvedAutoTheme(resolved: ResolvedTheme): Promise<void> { |
| 2516 | if (this.state.appState.theme !== 'auto') return; |
| 2517 | const palette = getBuiltInPalette(resolved); |
| 2518 | if (currentTheme.palette === palette) return; |
| 2519 | currentTheme.setPalette(palette); |
| 2520 | this.updateEditorBorderHighlight(); |
| 2521 | // Repaint already-rendered transcript entries (status/markdown caches hold |
| 2522 | // old ANSI codes), matching applyTheme()'s behaviour. |
| 2523 | this.state.transcriptContainer.invalidate(); |
| 2524 | this.state.ui.requestRender(true); |
| 2525 | } |
| 2526 | |
| 2527 | private shouldShowTerminalProgress(effectiveMode: EffectiveActivityPaneMode): boolean { |
| 2528 | if (this.state.appState.isCompacting) return true; |
no test coverage detected