aboutsummaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2025-01-25 23:56:35 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2025-01-25 23:56:35 +0530
commit026a0a059118ab5d5f07684ed0dfb58626c4a884 (patch)
treeb7fd3d272e872a4c5671c86fd900c4c197f4a262 /Program.cs
parentb8ca4d2b90aaf41111c90dc6fff1181d43474443 (diff)
downloadhypr-wellbeing-026a0a059118ab5d5f07684ed0dfb58626c4a884.zip
hypr-wellbeing-026a0a059118ab5d5f07684ed0dfb58626c4a884.tar.gz
chore: UI improvements
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs12
1 files changed, 9 insertions, 3 deletions
diff --git a/Program.cs b/Program.cs
index 79b0b5d..5cd262a 100644
--- a/Program.cs
+++ b/Program.cs
@@ -23,6 +23,12 @@ class Program
if(args[0] == "--show")
{
+ string green = "\x1b[0;32m";
+ string yellow = "\x1b[1;33m";
+ string red = "\x1b[0;31m";
+ string blue = "\x1b[0;34m";
+ string reset = "\x1b[0m";
+
Dictionary<string, string> data = new Dictionary<string, string>();
var date = WatchLog.GetDate();
@@ -40,11 +46,11 @@ class Program
data[key] = value;
}
}
- Console.WriteLine("{0,-30} {1,-30}", "App", "Time");
- Console.WriteLine(new string('-', 60));
+ Console.WriteLine($"{yellow}{"App",-30}{"Time",30}{reset}");
+ Console.WriteLine($"{red}{new string('-', 60)}{reset}");
foreach (var entry in data)
{
- Console.WriteLine("{0,-30} {1,-30}", entry.Key, entry.Value);
+ Console.WriteLine($"{blue}{entry.Key,-30}{reset}{green}{entry.Value,30}{reset}");
}
}
}