Move option into shared call

This commit is contained in:
Daniel Imms 2024-03-22 14:10:55 -07:00
parent fbbcc48651
commit c86bcb5cd6
No known key found for this signature in database
GPG key ID: E5CF412B63651C69

View file

@ -102,7 +102,6 @@ export class TerminalStickyScrollOverlay extends Disposable {
this._stickyScrollOverlay = this._register(new ctor({
rows: 1,
cols: this._xterm.raw.cols,
allowTransparency: true,
allowProposedApi: true,
...this._getOptions()
}));
@ -447,6 +446,7 @@ export class TerminalStickyScrollOverlay extends Disposable {
private _getOptions(): ITerminalOptions {
const o = this._xterm.raw.options;
return {
allowTransparency: true,
cursorInactiveStyle: 'none',
scrollback: 0,
logLevel: 'off',