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