It would be great if it could work with Eclipse console, since many develop using Eclipse. I tried to change from WindowsTermial to UnixTerminal, but it wouldn't work on my Windows Vista running Eclipse 3.4 (and latest version of JLine).
On WindowsTerminal the Password-example program just returned "null" immediately, and changing to UnixTerminal made it loop - showing the prompt over and over again.
Any chance that something will be done about this?
This bug is causing a problem in STS running Grails commands:
https://issuetracker.springsource.com/browse/STS-2017
I've found that setting system property "jline.terminal" to "jline.UnsupportedTerminal" is a suitable workaround.
The problem appears to be that jline is using os.name to determine that it should be using "WindowsTerminal" but whatever this class is doing, is not really compatible with the Eclipse console UI.