update files

This commit is contained in:
nuintun
2015-11-25 17:28:12 +08:00
parent d871c2b302
commit 092961802c
5 changed files with 21 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ module.exports = function (Terminal){
Terminal.prototype.eraseRight = function (x, y){
var line = this.lines[this.ybase + y];
var ch = [this.curAttr, ' ']; // xterm
var ch = [this.eraseAttr(), ' '];
for (; x < this.cols; x++) {
line[x] = ch;
@@ -22,7 +22,7 @@ module.exports = function (Terminal){
Terminal.prototype.eraseLeft = function (x, y){
var line = this.lines[this.ybase + y];
var ch = [this.curAttr, ' ']; // xterm
var ch = [this.eraseAttr(), ' '];
x++;