mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-15 06:30:13 +08:00
Update xtermFrontend.ts
This commit is contained in:
parent
b922fe7776
commit
d5babde1fa
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user