Added a module which nicely formats output to console. Fixes #4

This commit is contained in:
2018-07-26 17:15:39 +02:00
parent 551a97f359
commit 3558a4869a
4 changed files with 42 additions and 39 deletions

View File

@@ -325,7 +325,7 @@ pub fn print_key(response: &[u8]) -> Option<String> {
}
pub fn print_key_map(rows: usize) {
print!("{}", " ‖ Key Name ¦ Value ".repeat(rows));
print!("{}", " ‖ Key Name ¦ Value ".repeat(rows));
println!("");
println!(" {}", "-".repeat(rows*36));