changing the console background color #1112
-
I have my command prompt's background color set to a very dark green. I am trying to do the same with AnsiConsole, but setting AnsiConsole.Background only changes the background of the words that are printed... the rest of the background of the console is always black... How can I make the default background of the console a different color? |
Beta Was this translation helpful? Give feedback.
Answered by
patriksvensson
Dec 16, 2022
Replies: 1 comment
-
That's not possible with Spectre.Console since there is no VT100 code for doing that. However, Not using any background color when writing text should use your terminal's default background color. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
patriksvensson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's not possible with Spectre.Console since there is no VT100 code for doing that.
If your terminal has an API, you will need to call that specifically.
However, Not using any background color when writing text should use your terminal's default background color.