From 044faa5f479204bfddcfac9ed8578e72c837eefb Mon Sep 17 00:00:00 2001 From: Paris Kasidiaris Date: Fri, 14 Jul 2017 09:55:20 +0300 Subject: [PATCH] Fix variable name --- src/xterm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xterm.js b/src/xterm.js index 4e87379089..469f1e0ba0 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -2299,12 +2299,12 @@ Terminal.prototype.reset = function() { var customKeyEventHandler = this.customKeyEventHandler; var cursorBlinkInterval = this.cursorBlinkInterval; var inputHandler = this.inputHandler; - var buf = this.buffers; + var buffers = this.buffers; Terminal.call(this, this.options); this.customKeyEventHandler = customKeyEventHandler; this.cursorBlinkInterval = cursorBlinkInterval; this.inputHandler = inputHandler; - this.buffers = buf; + this.buffers = buffers; this.refresh(0, this.rows - 1); this.viewport.syncScrollArea(); };