How to listen esc key on terminal?
<p>i'm making a program without GUI, and i want catch the ESC key when is pressed for cancel a input (using Scanner).</p>

<p>I'm searching on google an here but i just found for SWING</p>
