Move per-core CPU/GPU into horizontal header lines - #11
Merged
Conversation
Relocate per-core CPU (C0..) and GPU (G0..) usage from the right-side vertical panel into two full-width horizontal lines directly under the KPI header, in tight label:percent form. The timeline graph reclaims the full width. Dim the live-edge cursor so it reads as a marker rather than a stray white bar now that it sits at the screen edge.
abosnjakovic
force-pushed
the
horizontal-core-lines
branch
from
June 23, 2026 10:54
09a5269 to
d4726c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Relocates per-core CPU (
C0…) and GPU (G0…) usage from the right-side vertical panel into two full-width horizontal lines directly under the KPI header, in tightlabel:percentform (e.g.cpu C0:10% C1:7% …). The timeline graph now reclaims the full width.Why
The vertical per-core column ate 20% of the timeline width and was awkward to scan. Two compact horizontal rows under the header read more naturally and free the chart to span the full terminal.
Details
src/ui.rsrender_cpu_cores_line/render_gpu_cores_line(thin wrappers over a sharedrender_cores_linehelper) that build a single clippingLineof per-core cells; percentages are colour-graded by load via the existingget_gradient_color.render_cores_panel,render_cpu_cores_panel,render_gpu_cores_panel, andrender_core_dot_line.src/app.rs— removed the now-unusedget_cpu_count.src/theme.rs— dimmed the live-edge cursor (THEME.cursor) from white toRgb(90, 90, 100). With the timeline now full-width, the "now" marker sits at the screen edge; dimming stops it reading as a stray white bar while keeping it visible as a marker.Verification
cargo buildclean,cargo clippyclean, no dead-code warnings.🤖 Generated with Claude Code