From a1f23a2d4a2315ec61146bbe3826e4d27372bb44 Mon Sep 17 00:00:00 2001 From: charklie Date: Sat, 30 Mar 2024 15:57:12 +0100 Subject: [PATCH] made -t mode more visually appealing, release 0.3.3 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e4ac7d6..f742272 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -820,7 +820,7 @@ dependencies = [ [[package]] name = "rsftch" -version = "0.3.1" +version = "0.3.2" dependencies = [ "colored", "libmacchina", diff --git a/Cargo.toml b/Cargo.toml index d7631cd..8cc5229 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rsftch" -version = "0.3.2" +version = "0.3.3" edition = "2021" authors = ["Charklie charliejohanid@gmail.com"] license = "MIT" diff --git a/src/main.rs b/src/main.rs index 2af902c..b6270be 100644 --- a/src/main.rs +++ b/src/main.rs @@ -94,14 +94,14 @@ fn info(formatting: bool, tree: bool) { if tree { println!("{}\n", distroascii); println!(" {} ~ {}", "OS", os); - println!("┠ 󰍹 {} ~ {}", "hostname", hostname); - println!("┠  {} ~ {}", "kernel", kernel); - println!("┠  {} ~ {}", "memory", memory); - println!("╰ 󰥔 {} ~ {}\n", "uptime", uptime); + println!("├─󰍹 {} ~ {}", "hostname", hostname); + println!("├─ {} ~ {}", "kernel", kernel); + println!("├─ {} ~ {}", "memory", memory); + println!("╰─󰥔 {} ~ {}\n", "uptime", uptime); println!(" {} ~ {}", "user", user); - println!("┠  {} ~ {}", "terminal", terminal); - println!("┠  {} ~ {}", "shell", shell); - println!("╰  {} ~ {}", "de", desktop); + println!("├─ {} ~ {}", "terminal", terminal); + println!("├─ {} ~ {}", "shell", shell); + println!("╰─ {} ~ {}", "de", desktop); } else if !tree { println!("{}\n", distroascii); println!(" {} ~ {}@{}", "user", user, hostname);