int readChar = cnslRdr.readCharacter();
if ( readChar == 9){
if (cnslRdr.readCharacter() == 9 ){
cnslRdr.println("Double tab presssed..");
continue;
}
}
The above code when run in commandprompt is not detecting the first character typed. The above logic is used to detect Double Tab key press in Jline2.14 console Reader