Commit 78ef856727eb497c3f9b9ae725b42d1c44012a0a

Authored by Imanol-Mikel Barba Sabariego
1 parent f77c94da

git-svn-id: svn://imanolbarba.net/PAD@2 c2ee353e-ed0d-4329-bf56-03aec153487f

readline/bin/pad/prac1/EditableBufferedReader.class
No preview for this file type
readline/bin/pad/prac1/MainClass.class
No preview for this file type
readline/src/pad/prac1/EditableBufferedReader.java
... ... @@ -76,6 +76,7 @@ public class EditableBufferedReader extends BufferedReader
76 76 System.out.println("Couldn't unset raw mode");
77 77 return "";
78 78 }
  79 + System.out.println("");
79 80 return line;
80 81 }
81 82 }
... ...
readline/src/pad/prac1/MainClass.java
... ... @@ -9,7 +9,7 @@ public class MainClass
9 9 {
10 10 InputStreamReader input = new InputStreamReader(System.in);
11 11 EditableBufferedReader editable = new EditableBufferedReader(input);
12   - System.out.println("\nLine read: " + editable.readLine());
  12 + System.out.println("Line read: " + editable.readLine());
13 13 editable.close();
14 14 }
15 15  
... ...