Skip to content

Commit

Permalink
fix(terminal): fix terminal output before terminal ready
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Nov 11, 2017
1 parent ae6202e commit 5ff62b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/app-terminal/app-terminal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class AppTerminalComponent implements OnInit {
this.hterm.prefs_.set('color-palette-overrides', terminalColorPallete);

this.terminalReady = true;
if (this.unwritenChanges) {
if (this.unwritenChanges !== '') {
this.printToTerminal(this.unwritenChanges);
this.unwritenChanges = '';
}
Expand Down

0 comments on commit 5ff62b9

Please sign in to comment.