mirror of
https://github.com/Eugeny/tabby
synced 2024-12-14 15:22:40 +00:00
.
This commit is contained in:
parent
acc13087bf
commit
be72ad3c36
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export class TerminalSettingsTabComponent {
|
|||
) { }
|
||||
|
||||
async ngOnInit () {
|
||||
if (this.hostApp.platform == Platform.Windows) {
|
||||
if (this.hostApp.platform == Platform.Windows || this.hostApp.platform == Platform.macOS) {
|
||||
let fonts = await new Promise<any[]>((resolve) => fontManager.findFonts({ monospace: true }, resolve))
|
||||
this.fonts = fonts.map(x => x.family)
|
||||
this.fonts.sort()
|
||||
|
|
Loading…
Reference in a new issue