update files

This commit is contained in:
nuintun 2015-11-25 11:44:06 +08:00
parent 9bef05d523
commit e90d05c1bc

View File

@ -40,7 +40,7 @@ module.exports = function (Terminal){
snd.play(); snd.play();
if (!Terminal.visualBell) return; if (!this.visualBell) return;
var self = this; var self = this;
@ -50,7 +50,7 @@ module.exports = function (Terminal){
self.element.style.borderColor = ''; self.element.style.borderColor = '';
}, 10); }, 10);
if (Terminal.popOnBell) this.focus(); if (this.popOnBell) this.focus();
}; };
Terminal.prototype.write = function (data){ Terminal.prototype.write = function (data){
@ -149,7 +149,7 @@ module.exports = function (Terminal){
this.lines[j][this.x - 1] = [this.curAttr, ' ']; this.lines[j][this.x - 1] = [this.curAttr, ' '];
break; break;
} }
this.lines[j][this.x] = [this.curAttr, ' ']; this.lines[j][this.x] = [this.curAttr, ' '];
this.x++; this.x++;
} }