diff options
| author | DemonKingSwarn <rockingswarn@gmail.com> | 2025-06-16 16:10:55 +0530 |
|---|---|---|
| committer | DemonKingSwarn <rockingswarn@gmail.com> | 2025-06-16 16:10:55 +0530 |
| commit | 2f56d92438869c2465ef2d619f0c470c2cf1a335 (patch) | |
| tree | 9d7e3c5b5e980caf526fd7be7afa19b92900cfa2 /Program.cs | |
| parent | 333f7d1f4757855cbdb84e51ac64f52be226e753 (diff) | |
| download | hypr-wellbeing-2f56d92438869c2465ef2d619f0c470c2cf1a335.zip hypr-wellbeing-2f56d92438869c2465ef2d619f0c470c2cf1a335.tar.gz | |
chore: better word wrapping
Diffstat (limited to 'Program.cs')
| -rw-r--r-- | Program.cs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -70,7 +70,8 @@ class Program foreach (var entry in data) { - Console.WriteLine($"{blue}{entry.Key,-30}{reset}{green}{entry.Value,30}{reset}"); + string key = entry.Key.Length > 30 ? entry.Key.Substring(0, 27) + "..." : entry.Key; + Console.WriteLine($"{blue}{key,-30}{reset}{green}{entry.Value,30}{reset}"); } } |
