From 0f655de980c301e46519f54b0f497df3f8c6c9b6 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 28 Jul 2015 03:05:14 -0700 Subject: [PATCH] terminal: minor fix for clear screen. --- lib/widgets/terminal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/terminal.js b/lib/widgets/terminal.js index 3b1891e..165d52f 100644 --- a/lib/widgets/terminal.js +++ b/lib/widgets/terminal.js @@ -402,7 +402,7 @@ Terminal.prototype.kill = function() { this.pty.destroy(); this.pty.kill(); } - this.term.write('\x1b[H\x1b[2J'); + this.term.write('\x1b[H\x1b[J'); }; /**