From 86291b6e96f54582f4889572bc81d8330c01ca3d Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Tue, 12 May 2026 17:53:33 -0700 Subject: [PATCH] Highlight xterm-screen when size is non-auto --- demo/client/components/window/optionsWindow.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/demo/client/components/window/optionsWindow.ts b/demo/client/components/window/optionsWindow.ts index 18ab9254d..31521a871 100644 --- a/demo/client/components/window/optionsWindow.ts +++ b/demo/client/components/window/optionsWindow.ts @@ -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(); }