Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dim colors of status message when counts are zero #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Dim colors of status message when counts are zero #286

wants to merge 1 commit into from

Conversation

yurivict
Copy link
Member

No description provided.

@yurivict yurivict changed the title Made colors of status message light gray when corresponding counts are zero Dim colors of status message when counts are zero Mar 30, 2015
if [ $4 -gt 0 ]; then
printf "${1}${2}: %-${3}d" ${4}
else
printf "${COLOR_LIGHT_GRAY}${2}: %-${3}d" ${4}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be COLOR_COUNT_ZERO or COLOR_DIMMED or something and then default it to COLOR_LIGHT_GRAY in src/share/poudriere/include/colors.sh. That's so a user can change the color without changing what "gray" means.

@bdrewery bdrewery self-assigned this Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants