| Age | Commit message (Collapse) | Author |
|
- Fix struct field alignment in Config and runState
- Move parseBool() after Config methods (group methods together)
- Move interface satisfaction checks after type definitions in store.go
- Move linkScales var to top of display.go with other declarations
- Clean up orphaned comment and blank line
- Bump version to 0.10.1
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
Draw a 1px red horizontal line spanning the full window width showing
the mean CPU usage across all monitored hosts. Toggled with 'g' hotkey
and persistable to ~/.loadbarsrc via 'w'.
Bump version to 0.10.0.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
Fixes issue where integer division (winW / numBars) left unused pixels
on the right side of the window. The more cores displayed, the more
obvious the gap became.
Changes:
- Add barBounds() helper to calculate exact position and width for each bar
- Distribute remainder pixels evenly using scaled division
- Update drawing functions to use pre-calculated positions
- Update test to verify bars now fill entire window width
Increment version to 0.9.1
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
|
Sum RX/TX across all non-lo interfaces instead of picking a single one.
Remove the n hotkey (cycle interface), netint config field, and --netint
flag since they are no longer needed. Fix pre-existing bug where net bars
decayed to zero between collector updates (~19 of 20 frames had target=0,
making bars invisible even during heavy downloads).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
Remove non-functional macOS monitoring code that used native tools (sysctl, vm_stat, netstat, iostat). Now loadbars exits with an error when attempting local stats gathering on non-Linux systems. macOS can still be used as a client to monitor remote Linux servers via SSH.
|
|
drawFrame() only cleared the window on layout changes, leaving remainder
pixels (from integer division winW/numBars) with stale content from the
double-buffered back buffer. Now clears every frame per SDL2 best practice.
Adds comprehensive SDL visual test harness using software renderer with
pixel spot-checking for CPU, memory, network bars, and the remainder bug.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
|
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
Amp-Thread-ID: https://ampcode.com/threads/T-019c58b3-06fb-733d-8fc1-f268fe7f70d5
Co-authored-by: Amp <amp@ampcode.com>
|