Skip to content

Commit

Permalink
fix(hotfix): fix blinking terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Sep 5, 2017
1 parent 5872b35 commit 6b244c5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/api/process.ts
Expand Up @@ -79,6 +79,7 @@ export function startBuildProcess(
sub.unsubscribe(); sub.unsubscribe();
stopContainer(name).subscribe((event: ProcessOutput) => { stopContainer(name).subscribe((event: ProcessOutput) => {
observer.next(event); observer.next(event);
observer.complete();
}); });
}); });
}); });
Expand Down
2 changes: 1 addition & 1 deletion src/app/assets/public/images/icons/collapse.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/assets/public/images/icons/expand.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/components/app-terminal/app-terminal.component.ts
Expand Up @@ -20,11 +20,11 @@ export class AppTerminalComponent implements OnInit {
this.au = new AnsiUp.default(); this.au = new AnsiUp.default();
this.au.use_classes = true; this.au.use_classes = true;
this.commands = []; this.commands = [];
this.noData = true;
} }


ngOnChanges(changes: SimpleChange) { ngOnChanges(changes: SimpleChange) {
if (!this.data) { if (!this.data) {
this.noData = true;
return; return;
} }


Expand Down
12 changes: 6 additions & 6 deletions src/app/styles/terminal.sass
Expand Up @@ -26,7 +26,7 @@
.command-line .command-line
display: flex display: flex
align-items: center align-items: center
background: lighten(#000000, 3) background: #000000
margin: 2px 5px margin: 2px 5px
padding: 0px padding: 0px
border-radius: 2px border-radius: 2px
Expand All @@ -42,13 +42,13 @@


.command .command
font-size: 12px font-size: 12px
color: #f1fa8c color: $white
font-weight: bold font-weight: $weight-semibold


span span
font-size: 12px font-size: 12px
color: #f1fa8c color: $white
font-weight: bold font-weight: $weight-semibold


.output .output
display: inline-block display: inline-block
Expand All @@ -57,7 +57,7 @@
margin: 0 !important margin: 0 !important
font-family: monaco, monospace font-family: monaco, monospace
font-size: 12px font-size: 12px
padding: 0 10px 5px !important padding: 10px 10px 10px 25px !important
background: #000000 background: #000000
white-space: pre-wrap white-space: pre-wrap
word-wrap: break-word word-wrap: break-word

0 comments on commit 6b244c5

Please sign in to comment.