From 616b25bab7dfc27c0a3e0d03605835802fd4a1f0 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 14 Aug 2013 17:07:39 -0500 Subject: [PATCH] fix term.reset(). --- src/term.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/term.js b/src/term.js index 8de19f22..971da7df 100644 --- a/src/term.js +++ b/src/term.js @@ -2812,7 +2812,7 @@ Terminal.prototype.reverseIndex = function() { // ESC c Full Reset (RIS). Terminal.prototype.reset = function() { - Terminal.call(this, this.cols, this.rows); + Terminal.call(this, this.options); this.refresh(0, this.rows - 1); };