8000 $host.ui.rawui issues · Issue #714 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

$host.ui.rawui issues #714

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

Closed
jpsnover opened this issue Mar 21, 2016 · 3 comments
Closed

$host.ui.rawui issues #714

jpsnover opened this issue Mar 21, 2016 · 3 comments
Assignees
Labels
Usability (LEGACY) Helps filter issues that might be higher priority because they directly affect usability

Comments

@jpsnover
Copy link
Contributor
  1. BackGroundColor is -1 when it should be a [ConsoleColor]
  2. I can't set *groundColor
  3. I am able to properly set WindowTItle but then it isn't refected when I do a $host.UI.Rawui |fl *
@andyleejordan
Copy link
Member

This is essentially #616.

@andyleejordan andyleejordan added the Usability (LEGACY) Helps filter issues that might be higher priority because they directly affect usability label Mar 21, 2016
@andyleejordan
Copy link
Member
  1. is $Host.UI.RawUI.BackgroundColor should be customizable at runtime #298 and fixed in MegaPatch that includes all of #717, plus RawUI fixes #730 is slightly different
  2. is still an issue is now fixed
  3. is due to Linux; there is no way to retrieve the current window title

@palladia
Copy link
Contributor

For Linux, CoreFx assigns -1 as default value for BackgroundColor and ForegroundColor. There's nothing we can do about that.

But #730 fixed a problem where ForegroundColor always got overridden by PowerShell, so user preference should now stick.

As for #3, Linux does not capability to retrieve Window Title. I've written a workaround so that if one sets the title from within PowerShell, I will display a cached copy of the title if one tries to display the value. This works fine as long as one doesn't change the title external to PowerShell.

@palladia palladia self-assigned this Mar 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Usability (LEGACY) Helps filter issues that might be higher priority because they directly affect usability
Projects
None yet
Development

No branches or pull requests

3 participants
0