Closed jubalh closed 10 years ago
Take a look at jline. But it looks like we have to port our project to Maven to easily use jline, which I know nothing about.
Another option: Using read() / readLine() from java.io.console. But won't work under Eclipse since ther eis no Console to get. There is a little workaround. Then we still wont have history under eclipse, but at least in production mode. And we can debug remotely. Also here is an example of readLine
Converted to Maven with commit: faa8acba81e82c6c14cbccd0d01f1aa1c07269e9 jline included with commit: e2b2fb3264aa68e4367c3ffd9655193a16f86fed
User should be able to scroll through previous commands via upper arrow or something.