Commit f03cc01a authored by Wesley Wiser's avatar Wesley Wiser

Make the `ls` output prettier

parent 9e50000e
......@@ -126,7 +126,8 @@ fn get_buffers_description(buffers: &BufferManager) -> String {
.filter(|b| !b.is_transient)
.enumerate()
.map(|(i, b)| print_buffer(i, b))
.collect::<Vec<_>>();
.collect::<Vec<_>>()
.join("\n");
descriptions.join("\n")
format!("Buffers\n=====================================\n\n{}", descriptions)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment