Console Color Configuration #126
-
I'm wondering if anyone knows a way to configure the console colors at the I started thinking about this after running into an issue where my CLI app briefly changes the foreground color before changing them back but it crashed before the reset leaving follow up runs of my app still using the changed color. It would be nice to have the colors be configurable at the Does anyone have a way I could do this currently? If not, what do people think about adding this sort of configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can use these extension methods to set and auto-reset colors: CliFx/CliFx/Infrastructure/IConsole.cs Lines 102 to 137 in 33f95d9 Otherwise, a simple |
Beta Was this translation helpful? Give feedback.
You can use these extension methods to set and auto-reset colors:
CliFx/CliFx/Infrastructure/IConsole.cs
Lines 102 to 137 in 33f95d9