Hey guys
I tried to get the current line of the java console via JLine 2. Here is the code of the attempt:
reader = new ConsoleReader(); String line; while ((line = reader.readLine()) != null) { System.out.println("LINE FOUND!"); }
But this does not work, neither in the IDE (Eclipse) nor in GitBash
Do you have any idea, what I did wrong?
Thanks in advance
PT400C