summaryrefslogtreecommitdiffstats
path: root/src/print.rs
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.me>2019-04-12 13:17:20 -0400
committerMatan Kushner <hello@matchai.me>2019-04-12 13:17:20 -0400
commit7356faaec2cdb99abd662f33d716ab6387d4f48f (patch)
treecbb601e554b41867aa23bfd6b2632452c7b4a436 /src/print.rs
parent653b9c1d5c4a7da21911a3b6d65aa2fd058bc341 (diff)
Cleanup around newline
Diffstat (limited to 'src/print.rs')
-rw-r--r--src/print.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.rs b/src/print.rs
index 4371c5ece..13c367997 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()