-
I'd like to add an option to my |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hah, I was thinking / playing with this exact thing last night. You can already sort of force colours by using the import rich_click as click
click.rich_click.COLOR_SYSTEM = "truecolor" (see the rich docs for which systems you can use). I was also playing with the idea of adding a similar Would either of these methods work for you? |
Beta Was this translation helpful? Give feedback.
Hah, I was thinking / playing with this exact thing last night. You can already sort of force colours by using the
COLOR_SYSTEM
config:(see the rich docs for which systems you can use).
I was also playing with the idea of adding a similar
FORCE_TERMINAL
config option to setforce_terminal
on the rich console object. I'm not entirely sure if that would be all that difference from setting the colour system though 🤔Would either of these methods work for you?