mirror of
https://github.com/nuintun/command-manager.git
synced 2025-07-19 00:49:37 +08:00
update files
This commit is contained in:
parent
d9d77434d6
commit
513d1b0149
@ -36,13 +36,6 @@ module.exports = function (Terminal){
|
|||||||
for (; y <= end; y++) {
|
for (; y <= end; y++) {
|
||||||
row = y + this.ydisp;
|
row = y + this.ydisp;
|
||||||
line = this.lines[row];
|
line = this.lines[row];
|
||||||
|
|
||||||
if (!line) {
|
|
||||||
// simple solution in case we have more lines than rows
|
|
||||||
// could be improved to instead remove first line (and related html element)
|
|
||||||
return this.reset();
|
|
||||||
}
|
|
||||||
|
|
||||||
out = '';
|
out = '';
|
||||||
|
|
||||||
if (y === this.y && this.cursorState && this.ydisp === this.ybase && !this.cursorHidden) {
|
if (y === this.y && this.cursorState && this.ydisp === this.ybase && !this.cursorHidden) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user