diff --git a/readline/bin/pad/prac1/EditableBufferedReader.class b/readline/bin/pad/prac1/EditableBufferedReader.class index 688a694..00fdc51 100644 --- a/readline/bin/pad/prac1/EditableBufferedReader.class +++ b/readline/bin/pad/prac1/EditableBufferedReader.class diff --git a/readline/bin/pad/prac1/MainClass.class b/readline/bin/pad/prac1/MainClass.class index b38d6f4..f6c38ec 100644 --- a/readline/bin/pad/prac1/MainClass.class +++ b/readline/bin/pad/prac1/MainClass.class diff --git a/readline/src/pad/prac1/EditableBufferedReader.java b/readline/src/pad/prac1/EditableBufferedReader.java index cbe521f..2582977 100644 --- a/readline/src/pad/prac1/EditableBufferedReader.java +++ b/readline/src/pad/prac1/EditableBufferedReader.java @@ -76,6 +76,7 @@ public class EditableBufferedReader extends BufferedReader System.out.println("Couldn't unset raw mode"); return ""; } + System.out.println(""); return line; } } diff --git a/readline/src/pad/prac1/MainClass.java b/readline/src/pad/prac1/MainClass.java index 86817c2..fdc3692 100644 --- a/readline/src/pad/prac1/MainClass.java +++ b/readline/src/pad/prac1/MainClass.java @@ -9,7 +9,7 @@ public class MainClass { InputStreamReader input = new InputStreamReader(System.in); EditableBufferedReader editable = new EditableBufferedReader(input); - System.out.println("\nLine read: " + editable.readLine()); + System.out.println("Line read: " + editable.readLine()); editable.close(); }