Skip to content
Snippets Groups Projects
Commit fe0a3763 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

[GR-6611] Don't use readline in non-interactive mode.

PullRequest: fastr/1210
parents d66c9159 0e7ee972
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@ public class RCommand {
throw fatal("embedded mode disabled");
// consoleHandler = new EmbeddedConsoleHandler(rsp, engine);
} else {
boolean useReadLine = !rsp.noReadline();
boolean useReadLine = isInteractive && !rsp.noReadline();
if (useReadLine) {
return new JLineConsoleHandler(inStream, outStream, rsp.isSlave());
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment