how can I detect arrow keys in java console not in GUI?
<p>I'm writing an application and I need to detect arrow keys inside it.
C++ has the getch() function.
We want to take the input and then add a check on ASCII values.</p>

<p>How can we detect input arrow keys?
Thanks</p>
