package pad.prac1; import java.io.IOException; import java.io.InputStreamReader; public class MainClass { public static void main(String[] argv) throws IOException { InputStreamReader input = new InputStreamReader(System.in); EditableBufferedReader editable = new EditableBufferedReader(input); System.out.println("\nLine read: \n" + editable.readLine()); editable.close(); } } /* TO-DO * up/down keys * pgup pgdown keys (goesto penultima linea visible) * implement change of terminal dimensions * * TO-FIX * Cursor keys, Home and end keys when new line, reset line length */