Skip to content

Commit

Permalink
fix terminal element clearing.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Jul 30, 2015
1 parent eeb9038 commit dc95fc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/widgets/terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ Terminal.prototype.kill = function() {
this.pty.destroy();
this.pty.kill();
}
this.term.refresh = function() {};
this.term.write('\x1b[H\x1b[J');
};

Expand Down

0 comments on commit dc95fc6

Please sign in to comment.