Prevent outside line-height styles from affecting cursor

See Microsoft/vscode#50125
This commit is contained in:
Daniel Imms
2018-05-18 12:17:39 -07:00
parent 2b4c5adb3c
commit 1736c1e12d
+1
View File
@@ -53,6 +53,7 @@ export class DomRenderer extends EventEmitter implements IRenderer {
this._rowContainer = document.createElement('div');
this._rowContainer.classList.add(ROW_CONTAINER_CLASS);
this._rowContainer.style.lineHeight = 'normal';
this._rowContainer.setAttribute('aria-hidden', 'true');
this._refreshRowElements(this._terminal.rows, this._terminal.cols);
this._selectionContainer = document.createElement('div');