This commit is contained in:
Eugene Pankov
2017-04-27 19:16:17 +02:00
parent 2d1dca41d7
commit 633ef9e791
8 changed files with 91 additions and 127 deletions

View File

@@ -45,7 +45,7 @@ export class TerminalSettingsTabComponent {
}
if (this.hostApp.platform == Platform.Linux) {
exec('fc-list :spacing=mono').then(([stdout, _]) => {
this.fonts = stdout
this.fonts = stdout.toString()
.split('\n')
.filter(x => !!x)
.map(x => x.split(':')[1].trim())