mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-05 14:34:54 +00:00
bumped xterm, check bracketedPaste state via terminal modes
This commit is contained in:
@@ -76,4 +76,6 @@ export abstract class Frontend {
|
||||
|
||||
abstract saveState (): any
|
||||
abstract restoreState (state: string): void
|
||||
|
||||
abstract supportsBracketedPaste (): boolean
|
||||
}
|
||||
|
@@ -324,6 +324,10 @@ export class XTermFrontend extends Frontend {
|
||||
this.xterm.write(state)
|
||||
}
|
||||
|
||||
supportsBracketedPaste (): boolean {
|
||||
return this.xterm.modes.bracketedPasteMode
|
||||
}
|
||||
|
||||
private setFontSize () {
|
||||
const scale = Math.pow(1.1, this.zoom)
|
||||
this.xterm.setOption('fontSize', this.configuredFontSize * scale)
|
||||
|
Reference in New Issue
Block a user