diff --git a/terminus-terminal/src/frontends/xtermFrontend.ts b/terminus-terminal/src/frontends/xtermFrontend.ts index ba006e62..09f2a095 100644 --- a/terminus-terminal/src/frontends/xtermFrontend.ts +++ b/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() }