From 78ef856727eb497c3f9b9ae725b42d1c44012a0a Mon Sep 17 00:00:00 2001 From: Imanol-Mikel Barba Sabariego Date: Fri, 13 Sep 2013 23:56:19 +0000 Subject: [PATCH] git-svn-id: svn://imanolbarba.net/PAD@2 c2ee353e-ed0d-4329-bf56-03aec153487f --- readline/bin/pad/prac1/EditableBufferedReader.class | Bin 2287 -> 0 bytes readline/bin/pad/prac1/MainClass.class | Bin 1124 -> 0 bytes readline/src/pad/prac1/EditableBufferedReader.java | 1 + readline/src/pad/prac1/MainClass.java | 2 +- 4 files changed, 2 insertions(+), 1 deletion(-) diff --git a/readline/bin/pad/prac1/EditableBufferedReader.class b/readline/bin/pad/prac1/EditableBufferedReader.class index 688a694..00fdc51 100644 Binary files a/readline/bin/pad/prac1/EditableBufferedReader.class and b/readline/bin/pad/prac1/EditableBufferedReader.class differ diff --git a/readline/bin/pad/prac1/MainClass.class b/readline/bin/pad/prac1/MainClass.class index b38d6f4..f6c38ec 100644 Binary files a/readline/bin/pad/prac1/MainClass.class and b/readline/bin/pad/prac1/MainClass.class differ 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(); } -- libgit2 0.22.2