mirror of
https://github.com/nuintun/command-manager.git
synced 2025-10-20 01:27:47 +08:00
update files
This commit is contained in:
@@ -22,7 +22,7 @@ module.exports = function (Terminal){
|
||||
* @param end
|
||||
*/
|
||||
Terminal.prototype.refresh = function (start, end){
|
||||
var parent = this.element.parentNode;
|
||||
var parent = this.element ? this.element.parentNode : null;
|
||||
var x, y, i, line, out, ch, width, data, attr, fgColor, bgColor, flags, row;
|
||||
|
||||
if (parent && end - start >= this.rows / 2) {
|
||||
|
Reference in New Issue
Block a user