Skip to content

v0.2.3 — Fix Sparkline Delay & Panel Flickering

Choose a tag to compare

@DennySORA DennySORA released this 11 Mar 07:14

dgxtop v0.2.3 — Fix Sparkline Delay & Panel Flickering

Bug Fixes

Sparkline showing stale data (~4 min delay)

  • Root cause: ratatui Sparkline renders from data[0], not the end. With 300-sample buffer and ~70-char width, it displayed samples from 4+ minutes ago, ignoring the latest values.
  • Fix: to_sparkline_data(width) now takes only the most recent N points matching the widget width. CPU/Memory sparklines update instantly.

Disk I/O and Network panels flickering

  • Root cause: Sort by instantaneous throughput was unstable — devices with similar throughput swapped positions every tick. selected_index pointed at a position, not a device, so chart/stats jumped between devices.
  • Fix: Added device name as tie-breaker in sort for both disk and network. update_disks() and update_networks() now preserve the selected device by name across re-sorts.

Install

curl -fsSL https://raw.githubusercontent.com/DennySORA/dgxtop/main/install.sh | bash

Full Changelog: v0.2.2...v0.2.3

Full Changelog: v0.2.2...v0.2.3