Merge pull request #5878 from PerBothner/demo-size-style
demo - indicate screen area size when non-auto
This commit is contained in:
@@ -252,6 +252,11 @@ export class OptionsWindow extends BaseWindow implements IControlWindow {
|
|||||||
input.value = 'auto';
|
input.value = 'auto';
|
||||||
this._handlers.updateTerminalSize();
|
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') {
|
} else if (o === 'theme') {
|
||||||
value = this._getTheme();
|
value = this._getTheme();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user