feat: implement fixed-width toggling top process display for CPU and memory

Add TOP_PROCESS_WIDGET_WIDTH constant and process_show_cpu flag to SystemStats struct, enabling fixed-width rendering of top process panel widget that toggles between CPU and memory usage display. Remove dynamic width calculation function panel_calculate_top_process_width and integrate top process rendering into the main panel layout with consistent spacing.
This commit is contained in:
2026-01-27 11:18:45 +00:00
parent a0d5b1b091
commit 2303b53c70
3 changed files with 44 additions and 100 deletions
BIN
View File
Binary file not shown.