Skip to content

Commit 41317d9

Browse files
committed
fix(terminal): fix terminal output before terminal ready
1 parent d04e438 commit 41317d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
@@ -61,7 +61,7 @@ export class AppTerminalComponent implements OnInit {
6161
this.hterm.prefs_.set('color-palette-overrides', terminalColorPallete);
6262

6363
this.terminalReady = true;
64-
if (this.unwritenChanges) {
64+
if (this.unwritenChanges !== '') {
6565
this.printToTerminal(this.unwritenChanges);
6666
this.unwritenChanges = '';
6767
}

0 commit comments

Comments
 (0)