Browse Source

Update xtermFrontend.ts

Eugene 6 years ago
parent
commit
d5babde1fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      terminus-terminal/src/frontends/xtermFrontend.ts

+ 1 - 1
terminus-terminal/src/frontends/xtermFrontend.ts

@@ -252,7 +252,7 @@ export class XTermFrontend extends Frontend {
         const scale = Math.pow(1.1, this.zoom)
         this.xterm.setOption('fontSize', this.configuredFontSize * scale)
         // eslint-disable-next-line @typescript-eslint/restrict-plus-operands
-        this.xterm.setOption('lineHeight', (this.configuredFontSize + this.configuredLinePadding * 2) / this.configuredFontSize * scale)
+        this.xterm.setOption('lineHeight', (this.configuredFontSize + this.configuredLinePadding * 2) / this.configuredFontSize)
         this.resizeHandler()
     }