I can open a console input prompt to the user by using:
BufferedReader bufferRead = new BufferedReader(new InputStreamReader(System.in));
String s = bufferRead.readLine();
Is there anyway to auto complete a user's input when they press tab? For example, they type:
>>: eat app[press tab]
>>: eat apple
Because apple is a known word in my code. Is there a way to do this without using libraries like JLine or JavaReadline