disable !events on jline console
This commit is contained in:
parent
774f030e01
commit
15c7236ccd
@ -17,6 +17,7 @@ public class ConsoleWrapper implements PasswordReader {
|
||||
this.prompt = prompt;
|
||||
try {
|
||||
cons = new ConsoleReader();
|
||||
cons.setExpandEvents(false);
|
||||
cons.setPrompt(prompt);
|
||||
final String userHome = System.getProperty("user.home");
|
||||
cons.setHistory(new FileHistory(new File(userHome + "/.hsscript_history")));
|
||||
|
Loading…
Reference in New Issue
Block a user