summaryrefslogtreecommitdiffstats
path: root/src/repl/handler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl/handler.rs')
-rw-r--r--src/repl/handler.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/repl/handler.rs b/src/repl/handler.rs
index dddd531..5959cd6 100644
--- a/src/repl/handler.rs
+++ b/src/repl/handler.rs
@@ -128,10 +128,8 @@ impl ReplyStreamHandler {
let _ = tx.send(ReplyStreamEvent::Done);
}
None => {
- if self.buffer.ends_with('\n') {
- print_now!("\n");
- } else {
- print_now!("\n\n");
+ if !self.buffer.ends_with('\n') {
+ print_now!("\n")
}
}
}