REPL: disable event expansion
Fixes problems with exclamation marks inside string literals. No tests added because it's tedious to test REPL as it is (via ConsoleReader) #KT-3940 Fixed
This commit is contained in:
@@ -58,6 +58,7 @@ public class ReplFromTerminal {
|
||||
try {
|
||||
consoleReader = new ConsoleReader("kotlin", System.in, System.out, null);
|
||||
consoleReader.setHistoryEnabled(true);
|
||||
consoleReader.setExpandEvents(false);
|
||||
consoleReader.setHistory(new FileHistory(new File(new File(System.getProperty("user.home")), ".kotlin_history")));
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user