From 893374a992c55e3e7e3f4db623be45624b6f5a68 Mon Sep 17 00:00:00 2001 From: vasilito Date: Mon, 6 Jul 2026 15:26:30 +0300 Subject: [PATCH] W10: Disk space percentage in status line Show the free-space percentage next to the disk indicator dot so the user can quickly assess remaining capacity without doing mental math from the size string. Tests: 1388 pass, zero warnings. --- local/recipes/tui/tlc/source/src/terminal/status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/recipes/tui/tlc/source/src/terminal/status.rs b/local/recipes/tui/tlc/source/src/terminal/status.rs index 049489c884..d2e1cdf522 100644 --- a/local/recipes/tui/tlc/source/src/terminal/status.rs +++ b/local/recipes/tui/tlc/source/src/terminal/status.rs @@ -268,7 +268,7 @@ impl StatusLine { }; let free_str = format_size_short(free); right_spans.push(Span::styled( - format!(" \u{25cf}{free_str} "), + format!(" \u{25cf}{free_str} {pct_free}% "), Style::default().fg(disk_color).bg(effective_bg), )); }