mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-24 19:13:31 +03:00
.
This commit is contained in:
parent
acc13087bf
commit
be72ad3c36
@ -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 New Issue
Block a user