diff --git a/lib/repl.js b/lib/repl.js index 7fe29b3dd34..d6a5425380a 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -149,8 +149,7 @@ function REPLServer(prompt, stream, eval, useGlobal, ignoreUndefined) { rli.line = ''; - if (!(self.bufferedCommand && self.bufferedCommand.length > 0) && - rli.line.length === 0) { + if (!(self.bufferedCommand && self.bufferedCommand.length > 0)) { rli.output.write('(^C again to quit)\n'); sawSIGINT = true; }