1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-09-22 10:28:41 +03:00
This commit is contained in:
Eugene Pankov 2017-04-16 23:06:54 +02:00
parent acc13087bf
commit be72ad3c36

View File

@ -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()