Highlight xterm-screen when size is non-auto

This commit is contained in:
Per Bothner
2026-05-12 17:53:33 -07:00
parent c8c8b3a7fe
commit 86291b6e96
@@ -252,6 +252,11 @@ export class OptionsWindow extends BaseWindow implements IControlWindow {
input.value = 'auto';
this._handlers.updateTerminalSize();
}
const screenElement = document.querySelector('.xterm-screen');
if (screenElement instanceof HTMLElement) {
screenElement.style.outline = this._autoResize ? ''
: 'solid thin red';
}
} else if (o === 'theme') {
value = this._getTheme();
}