Skip to content

Commit 0f5c558

Browse files
committed
fix(fonts): fix terminal fonts on Linux (closes #362)
1 parent e6d0abe commit 0f5c558

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/components/app-terminal/app-terminal.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class AppTerminalComponent implements OnInit, OnChanges {
4343
ngOnInit() {
4444
const el = this.elementRef.nativeElement.querySelector('.window-terminal-container');
4545
this.term.open(el);
46-
this.term.setOption('fontFamily', 'Monaco');
46+
this.term.setOption('fontFamily', 'Monaco, Menlo, "Ubuntu Mono", monospace');
4747
this.term.setOption('fontSize', 12);
4848
this.term.setOption('theme', this.theme);
4949
this.term.fit();

src/styles/terminal.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
background: #000000
88
height: 500px
99
width: 100%
10-
font-family: Monaco, monospace
10+
font-family: Monaco, Menlo, "Ubuntu Mono", monospace
1111
font-size: 12px
1212
padding: 5px 10px
1313

0 commit comments

Comments
 (0)