From e497f0cdaef5210499757b2aefd736a2d4546c62 Mon Sep 17 00:00:00 2001 From: Xorycode Date: Thu, 11 Apr 2024 19:40:26 +0300 Subject: [PATCH] quick fix: add gb to total ram --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1045a32..8c4d38c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,7 +18,7 @@ fn main() { \x1B[38:5:15m│\x1B[38:5:46m • Kernel Version: {} \x1B[38:5:15m│\x1B[38:5:45m • Uptime (minutes): {} \x1B[38:5:15m│\x1B[38:5:165m • Shell: {} -\x1B[38:5:15m│\x1B[38:5:201m • RAM: {} +\x1B[38:5:15m│\x1B[38:5:201m • RAM: {}GB \x1B[38:5:15m┘\x1B[38:5:219m • CPU: {} ", figlet, machine.user, machine.hostname, machine.kernel, machine.uptime, machine.shell, machine.ramtotal, machine.cpu);