Blame view

readline/src/pad/prac1/MainClass.java 589 Bytes
Imanol-Mikel Barba Sabariego authored
1
2
3
4
5
6
7
8
9
10
11
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);
12
		System.out.println("\nLine read: \n" + editable.readLine());
Imanol-Mikel Barba Sabariego authored
13
14
		editable.close();
	}
15
}
16
17
18
19
20
21
22
23
24
25
26

/*
 * 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
 */