Fix components not rebuilding content on theme change

This commit is contained in:
Mario Zechner 2026-01-09 00:40:57 +01:00
parent 36fbce85c2
commit 45a6c394ca
7 changed files with 39 additions and 0 deletions

View file

@ -73,6 +73,11 @@ export class BashExecutionComponent extends Container {
this.updateDisplay();
}
override invalidate(): void {
super.invalidate();
this.updateDisplay();
}
appendOutput(chunk: string): void {
// Strip ANSI codes and normalize line endings
// Note: binary data is already sanitized in tui-renderer.ts executeBashCommand