Permalink
Browse files

fix(terminal): fix terminal output before terminal ready

  • Loading branch information...
jkuri committed Nov 11, 2017
1 parent ae6202e commit 5ff62b9be98e7b9fbc030cb7292f58747876a01f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/components/app-terminal/app-terminal.component.ts
@@ -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 = '';
}

0 comments on commit 5ff62b9

Please sign in to comment.