diff --git a/README.md b/README.md index 5ac341d..1d4363c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,11 @@ - interactive killing of processes - from ``nestat -tulpn`` to ``somo -l`` (almost half the characters, can you believe it?) -![somo-example](./images/somo-example.png) +
+ +

+ +

--- diff --git a/images/somo-example.png b/images/somo-example.png index d483b7d..0e76c26 100644 Binary files a/images/somo-example.png and b/images/somo-example.png differ diff --git a/src/table.rs b/src/table.rs index 037e743..9465503 100644 --- a/src/table.rs +++ b/src/table.rs @@ -126,7 +126,7 @@ pub fn print_connections_table(all_connections: &Vec) { println!("{}", skin.term_text(&markdown)); - utils::pretty_print_info(&format!("Connections: **{}**", all_connections.len())); + utils::pretty_print_info(&format!("**{} Connections**", all_connections.len())); } diff --git a/src/utils.rs b/src/utils.rs index 2d57b74..f14b25c 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -65,7 +65,7 @@ pub fn get_address_parts(address: &str) -> (String, String) { /// # Returns /// None pub fn pretty_print_info(text: &str) { - let mut skin = MadSkin::default(); + let mut skin: MadSkin = MadSkin::default(); skin.bold.set_fg(White); skin.italic = CompoundStyle::new(Some(gray(11)), None, Encircled.into()); skin.strikeout = CompoundStyle::new(Some(Cyan), None, Encircled.into());