From c47f0d8a677009a746ad4375cc4c826d771e07ae Mon Sep 17 00:00:00 2001 From: Slava Kim Date: Tue, 3 Mar 2015 15:49:38 -0800 Subject: [PATCH] Fix the check for emacs-eshell terminal --- tools/console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/console.js b/tools/console.js index db20dea646..5c97f3e497 100644 --- a/tools/console.js +++ b/tools/console.js @@ -1180,7 +1180,7 @@ _.extend(Console.prototype, { } else if ((! self._stream.isTTY) || (! self._pretty)) { // No progress bar if not in pretty / on TTY. newProgressDisplay = new ProgressDisplayNone(self); - } else if (self._stream.isTTY && ! self.width()) { + } else if (self._stream.isTTY && ! self._stream.columns) { // We might be in a pseudo-TTY that doesn't support // clearLine() and cursorTo(...). // It's important that we only enter status message mode