Repl: correctly handle readLine()

This commit is contained in:
Pavel V. Talanov
2015-10-26 15:17:51 +03:00
parent 6237e516d4
commit 03c3fd2c2b
@@ -84,7 +84,7 @@ class ReplOutputHandler(
else -> logError(ReplOutputHandler::class.java, "Unexpected output type:\n$outputType")
}
if (outputType in setOf("SUCCESS", "COMPILE_ERROR", "INTERNAL_ERROR", "RUNTIME_ERROR")) {
if (outputType in setOf("SUCCESS", "COMPILE_ERROR", "INTERNAL_ERROR", "RUNTIME_ERROR", "READLINE_END")) {
runner.commandHistory.entryProcessed()
}
}