Merge pull request #209310 from mmastrac/main

Add `windowOptions` to xtermTerminal to allow `ESC [18t` to work
This commit is contained in:
Daniel Imms 2024-04-02 08:14:07 -07:00 committed by GitHub
commit 8ef2d1d6a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -235,6 +235,11 @@ export class XtermTerminal extends Disposable implements IXtermTerminal, IDetach
overviewRulerWidth: 10,
ignoreBracketedPasteMode: config.ignoreBracketedPasteMode,
rescaleOverlappingGlyphs: config.rescaleOverlappingGlyphs,
windowOptions: {
getWinSizePixels: true,
getCellSizePixels: true,
getWinSizeChars: true,
},
}));
this._updateSmoothScrolling();
this._core = (this.raw as any)._core as IXtermCore;