Browse Source

Internal cleanup

Steven Silvester 8 years ago
parent
commit
0eb968d43d
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/terminal/index.ts

+ 7 - 7
src/terminal/index.ts

@@ -340,24 +340,24 @@ class TerminalWidget extends Widget {
     // Set the fg and bg colors of the terminal and cursor.
     this._sheet.innerHTML = (`
       #${this.node.id} {
-        background: ${this.background};
-        color: ${this.color};
+        background: ${this._background};
+        color: ${this._color};
       }
       #${this.node.id} .xterm-viewport, #${this.node.id} .xterm-rows {
-        background-color: ${this.background};
-        color: ${this.color};
+        background-color: ${this._background};
+        color: ${this._color};
       }
       #${this.node.id} .terminal.focus .terminal-cursor.blinking {
           animation: ${this.node.id}-blink-cursor 1.2s infinite step-end;
       }
       @keyframes ${this.node.id}-blink-cursor {
           0% {
-              background-color: ${this.color};
-              color: ${this.background};
+              background-color: ${this._color};
+              color: ${this._background};
           }
           50% {
               background-color: transparent;
-              color: ${this.color};
+              color: ${this._color};
           }
       }
     `);