From 1e1f5b320856b9ea328f8b5ebf8d73872d3407e5 Mon Sep 17 00:00:00 2001 From: Lennart kats Date: Sun, 13 Sep 2015 06:35:23 +0000 Subject: [PATCH] Remove warning --- plugins/c9.ide.terminal/predict_echo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/c9.ide.terminal/predict_echo.js b/plugins/c9.ide.terminal/predict_echo.js index 92697099..f634a093 100644 --- a/plugins/c9.ide.terminal/predict_echo.js +++ b/plugins/c9.ide.terminal/predict_echo.js @@ -493,8 +493,8 @@ define(function(require, exports, module) { predictStartY = session.terminal.y + session.terminal.ybase; state = STATE_PREDICT; if (!checkTextBeforePrediction()) { - errorHandler.reportError(new Error("Warning: unable to init predictions")); - if (DEBUG) debugger; + // Appears to happen when tmux or shell unexpectedly sends a new line + console.warn("Unable to init predictions"); state = STATE_WAIT_FOR_ECHO; } });