mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-15 23:30:48 +08:00
update files
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
module.exports = function (Terminal){
|
||||
// CSI Ps b Repeat the preceding graphic character Ps times (REP).
|
||||
Terminal.prototype.repeatPrecedingCharacter = function (params){
|
||||
var param = params[0] || 1,
|
||||
line = this.lines[this.ybase + this.y],
|
||||
ch = line[this.x - 1] || [this.defAttr, ' '];
|
||||
var param = params[0] || 1;
|
||||
var line = this.lines[this.ybase + this.y];
|
||||
var ch = line[this.x - 1] || [this.defAttr, ' '];
|
||||
|
||||
while (param--) line[this.x++] = ch;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user