Visitar URL original
$host.ui.rawui issues · Issue #714 · PowerShell/PowerShell · GitHub
Skip to content

$host.ui.rawui issues #714

Description

  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 *

Activity

  1. andyleejordan commented on Mar 21, 2016

    @andyleejordan
    Member

    This is essentially #616.

  2. added
    Usability(LEGACY) Helps filter issues that might be higher priority because they directly affect usability
    on Mar 21, 2016
  3. andyleejordan commented on Mar 23, 2016

    @andyleejordan
    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
  4. palladia commented on Mar 24, 2016

    @palladia
    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Usability(LEGACY) Helps filter issues that might be higher priority because they directly affect usability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions