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

Consider adding [PSConsoleUtilities.TokenClassification]::All member #5

Closed
oising opened this issue May 14, 2013 · 1 comment
Closed

Comments

@oising
Copy link
Contributor

oising commented May 14, 2013

Having to set the background colour with set-psreadlineoption one token at a time is very tedious. While the foreground colours are likely to be different for each token, the background colour is likely to be the same:

ps> set-psreadlineoption -token all -backgroundcolor black

@lzybkr
Copy link
Member

lzybkr commented May 14, 2013

If you don't set the background color for a token, it defaults to [Console]::BackgroundColor. That should be what most tokens use, so it doesn't seem too useful to change the background color for all tokens. Some people might want a different background for just one token type, which is why the capability exists.

I could see having an option to not do any colorization at all, we'll see if more people want that before adding a switch for it.

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

No branches or pull requests

2 participants