mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-09 06:20:22 +08:00
expose the drawBoldTextInBrightColors option - fixes #3149
This commit is contained in:
parent
4a33936e7d
commit
eaf4ed9855
@ -23,6 +23,14 @@ div
|
||||
(ngModelChange)='config.save()',
|
||||
)
|
||||
|
||||
.form-line
|
||||
.header
|
||||
.title(translate) Draw bold text in bright colors
|
||||
toggle(
|
||||
[(ngModel)]='config.store.terminal.drawBoldTextInBrightColors',
|
||||
(ngModelChange)='config.save()'
|
||||
)
|
||||
|
||||
div.mt-4
|
||||
h3(translate) Keyboard
|
||||
|
||||
|
@ -67,6 +67,7 @@ export class TerminalConfigProvider extends ConfigProvider {
|
||||
},
|
||||
detectProgress: true,
|
||||
scrollbackLines: 25000,
|
||||
drawBoldTextInBrightColors: true,
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -292,6 +292,9 @@ export class XTermFrontend extends Frontend {
|
||||
this.xterm.options.macOptionIsMeta = config.terminal.altIsMeta
|
||||
this.xterm.options.scrollback = config.terminal.scrollbackLines
|
||||
this.xterm.options.wordSeparator = config.terminal.wordSeparator
|
||||
this.xterm.options.drawBoldTextInBrightColors = config.terminal.drawBoldTextInBrightColors
|
||||
this.xterm.options.fontWeight = config.terminal.fontWeight
|
||||
this.xterm.options.fontWeightBold = config.terminal.fontWeightBold
|
||||
this.configuredFontSize = config.terminal.fontSize
|
||||
this.configuredLinePadding = config.terminal.linePadding
|
||||
this.setFontSize()
|
||||
|
Loading…
Reference in New Issue
Block a user