Fix CharMeasure getting taller on successive calls
This commit is contained in:
@@ -56,7 +56,6 @@ export class Viewport implements IViewport {
|
||||
if (rowHeightChanged) {
|
||||
this.currentRowHeight = lineHeight;
|
||||
this.viewportElement.style.lineHeight = lineHeight + 'px';
|
||||
this.terminal.element.style.lineHeight = lineHeight + 'px';
|
||||
}
|
||||
const viewportHeightChanged = this.lastRecordedViewportHeight !== this.terminal.rows;
|
||||
if (rowHeightChanged || viewportHeightChanged) {
|
||||
|
||||
Reference in New Issue
Block a user