Moved some styling from xterm.js to xterm.css

This commit is contained in:
paris
2014-03-24 16:35:10 +00:00
parent c5ae1cea18
commit 0ae4b803cf
4 changed files with 49 additions and 5 deletions
-3
View File
@@ -702,10 +702,7 @@ Terminal.prototype.open = function(parent) {
// Create our main terminal element.
this.element = this.document.createElement('div');
this.element.className = 'terminal';
this.element.style.outline = 'none';
this.element.setAttribute('tabindex', 0);
this.element.style.backgroundColor = this.colors[256];
this.element.style.color = this.colors[257];
// Create the lines for our terminal.
this.children = [];