[PR #465] [MERGED] fix: Bars in --skip-total flag #495

Closed
opened 2026-06-08 11:28:48 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/465
Author: @bootandy
Created: 1/26/2025
Status: Merged
Merged: 1/26/2025
Merged by: @bootandy

Base: masterHead: skip_total_bars


📝 Commits (1)

  • 73936a6 fix: Bars in --skip-total flag

📊 Changes

1 file changed (+2 additions, -10 deletions)

View changed files

📝 src/display.rs (+2 -10)

📄 Description

Before we calculated the % by taking the longest bar. If you use --skip-total the longest bar is not the total. Remove this special case as it was wrong.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bootandy/dust/pull/465 **Author:** [@bootandy](https://github.com/bootandy) **Created:** 1/26/2025 **Status:** ✅ Merged **Merged:** 1/26/2025 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `skip_total_bars` --- ### 📝 Commits (1) - [`73936a6`](https://github.com/bootandy/dust/commit/73936a6d0c79cf68a437b8e44f71cbc0560861bb) fix: Bars in --skip-total flag ### 📊 Changes **1 file changed** (+2 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/display.rs` (+2 -10) </details> ### 📄 Description Before we calculated the % by taking the longest bar. If you use --skip-total the longest bar is not the total. Remove this special case as it was wrong. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-06-08 11:28:48 +03:00
zhus closed this issue 2026-06-08 11:28:49 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#495