mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-18 00:44:28 +08:00
update files
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (Terminal){
|
||||
Terminal.prototype.eraseAttr = function (){
|
||||
return (this.defAttr & ~0x1ff) | (this.curAttr & 0x1ff);
|
||||
};
|
||||
|
||||
Terminal.prototype.eraseRight = function (x, y){
|
||||
var line = this.lines[this.ybase + y];
|
||||
var ch = [this.curAttr, ' ']; // xterm
|
||||
|
||||
Reference in New Issue
Block a user