Started documentation

This commit is contained in:
paris
2014-03-25 17:39:10 +00:00
parent 77b1757c79
commit aa288aeb99
5 changed files with 464 additions and 7 deletions
+6 -7
View File
@@ -1184,12 +1184,6 @@ Terminal.prototype.refresh = function(start, end) {
out += ' xterm-hidden ';
}
// out += '" class="'
// + 'term-bg-color-' + bg
// + ' '
// + 'term-fg-color-' + fg
// + '">';
if (bg !== 256) {
out += ' xterm-bg-color-' + bg + ' ';
}
@@ -1233,7 +1227,11 @@ Terminal.prototype.refresh = function(start, end) {
this.children[y].innerHTML = out;
}
if (parent) parent.appendChild(this.element);
if (parent) {
parent.appendChild(this.element);
}
this.emit('refresh', {element: this.element, start: start, end: end});
};
Terminal.prototype._cursorBlink = function() {
@@ -2710,6 +2708,7 @@ Terminal.prototype.resize = function(x, y) {
// screen buffer. just set it
// to null for now.
this.normal = null;
};
Terminal.prototype.updateRange = function(y) {