MainClass.java
589 Bytes
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();
}
}
/*
* TODO
* DETECT LINE LENGTH BEFORE PASSING ARGS TO LINE.SETCURSOR
* UP/DOWN cursor
* PGUP/PGDN
* INSERT NEWLINE IN A STRING (SPLITTING STRINGS)
* MOUSE SUPPORT
* FORM SUPPORT
*/