Merge pull request #5764 from Tyriar/5675

Apply font styles directly to spans
This commit is contained in:
Daniel Imms
2026-03-11 16:09:13 +09:00
committed by GitHub
+3
View File
@@ -184,6 +184,9 @@ export class DomRenderer extends Disposable implements IRenderer {
// refresh() being called during the mousedown handler to start a selection.
` pointer-events: none;` +
` color: ${colors.foreground.css};` +
`}`;
styles +=
`${this._terminalSelector} .${ROW_CONTAINER_CLASS}, ${this._terminalSelector} .${ROW_CONTAINER_CLASS} span {` +
` font-family: ${this._optionsService.rawOptions.fontFamily};` +
` font-size: ${this._optionsService.rawOptions.fontSize}px;` +
` font-kerning: none;` +