microsoft.com/library/default.asp? url=/library/en-us/dllproc/base/setconsolemode.asp">SetConsoleMode and
GetConsoleMode to disable character echoing.
By default, the {@link #readCharacter} method will attempt to test to see ifthe specified {@link InputStream} is {@link System#in} or a wrapper around{@link FileDescriptor#in}, and if so, will bypass the character reading to directly invoke the readc() method in the JNI library. This is so the class can read special keys (like arrow keys) which are otherwise inaccessible via the {@link System#in} stream. Using JNI reading can be bypassed by settingthe jline.WindowsTerminal.disableDirectConsole
system property to true
.
@author
Marc Prud'hommeaux