Skip to content

Conversation

@Nikhils-179
Copy link

What does this PR do ?

  This PR enforces  enforce ANSI/light/dark theme for limited color support

Fixes #262

Screenshot 2024-10-06 at 9 17 37 PM

imabug added a commit to imabug/duf that referenced this pull request Mar 29, 2025
@muesli
Copy link
Owner

muesli commented Aug 27, 2025

Help me understand. What are you trying to achieve with this change?

@muesli
Copy link
Owner

muesli commented Aug 27, 2025

To fix #262 we need to check if the theme was manually set by the user and then ignore the ANSI fallback.

This change as it is makes the entire if-clause pointless, as the correct theme would have already been loaded above. It just loads the same theme twice now.

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.

--theme ignored with CLICOLOR_FORCE=1

2 participants