[PR #96] [MERGED] Change red ANSI color code for size of biggest file #302

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

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/96
Author: @nn1ks
Created: 6/29/2020
Status: Merged
Merged: 6/29/2020
Merged by: @bootandy

Base: masterHead: change-ansi-red


📝 Commits (1)

  • c4c173e Change red ANSI color code for size of biggest file

📊 Changes

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

View changed files

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

📄 Description

The enum variant ansi_term::Colour::Red (which uses the ANSI color code 31)
is used instead of the code 196 to display the size of the largest file. This
means that the red color of the terminal theme is used which is probably
preferred by most users.


🔄 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/96 **Author:** [@nn1ks](https://github.com/nn1ks) **Created:** 6/29/2020 **Status:** ✅ Merged **Merged:** 6/29/2020 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `change-ansi-red` --- ### 📝 Commits (1) - [`c4c173e`](https://github.com/bootandy/dust/commit/c4c173e40ef3b253fa484b243092020b5f435524) Change red ANSI color code for size of biggest file ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/display.rs` (+2 -2) </details> ### 📄 Description The enum variant `ansi_term::Colour::Red` (which uses the ANSI color code `31`) is used instead of the code `196` to display the size of the largest file. This means that the red color of the terminal theme is used which is probably preferred by most users. --- <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:26:57 +03:00
zhus closed this issue 2026-06-08 11:26:58 +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#302