summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2019-04-02 22:58:23 +0200
committerrabite <rabite@posteo.de>2019-04-02 22:58:23 +0200
commit1a819f2f288db0fa0d929232f8dcf4b0c34714af (patch)
tree8b70020b922d3002e50b14634818d0b5f972f503
parent04285257caa823ac83413a7f38534108f6492c4e (diff)
don't add space to history
-rw-r--r--src/minibuffer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/minibuffer.rs b/src/minibuffer.rs
index ac5c819..6cc0081 100644
--- a/src/minibuffer.rs
+++ b/src/minibuffer.rs
@@ -57,7 +57,7 @@ impl History {
let hpath = crate::paths::history_path()?;
let history = self.history.iter().map(|(htype, hlines)| {
- hlines.iter().map(|hline| format!("{}: {}\n", htype, hline))
+ hlines.iter().map(|hline| format!("{}:{}\n", htype, hline))
.collect::<String>()
}).collect::<String>();