From 7356faaec2cdb99abd662f33d716ab6387d4f48f Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Fri, 12 Apr 2019 13:17:20 -0400 Subject: [PATCH] Cleanup around newline --- src/print.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/print.rs b/src/print.rs index 4371c5ec..13c36799 100644 --- a/src/print.rs +++ b/src/print.rs @@ -15,7 +15,7 @@ pub fn prompt(args: ArgMatches) { let mut handle = stdout.lock(); // Write a new line before the prompt - write!(handle, "{}", "\n").unwrap(); + writeln!(handle).unwrap(); default_prompt .into_iter()