From 0a34885fbcde3411ffadcbb64315a1522ee8e3bc Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Wed, 3 Aug 2016 18:27:43 -0700 Subject: [PATCH] Fix line-height after rowContainer moved out of viewport --- src/xterm.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xterm.js b/src/xterm.js index 0d8a33ed..573863f8 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -362,6 +362,7 @@ if (size.height !== this.currentRowHeight) { this.currentRowHeight = size.height; this.viewportElement.style.lineHeight = size.height + 'px'; + this.terminal.rowContainer.style.lineHeight = size.height + 'px'; } if (this.lastRecordedViewportHeight !== this.terminal.rows) { this.lastRecordedViewportHeight = this.terminal.rows;