mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-19 18:06:11 +08:00
update files
This commit is contained in:
@@ -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++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user