Pansies

2.0.0

A PowerShell module for handling color and cursor positioning via ANSI escape sequences

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Pansies

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Joel Bennett

Copyright

(c) 2017 Joel Bennett. All rights reserved.

Owners

Tags

ANSI EscapeSequences VirtualTerminal Color

Cmdlets

New-Text Write-Host Get-Gradient Get-Complement Get-ColorWheel

PSEditions

Core Desktop

Dependencies

This module has no dependencies.

Release Notes


       2.0.0: Breaking change for the library:
           - Merge the "Colormine" namespace into PoshCode.Pansies
             Originally, this was a 3rd party MIT licensed library by @THEJoeZack.
             He pulled his repo, so I am now just integrating it into Pansies
           - Expose Complement and Gradient in the C# library for others to use
               - Add GetComplement() method to RgbColor
               - Add PoshCode.Pansies.Gradient class with GetGradient static method
               - Add Get-Complement and Get-Gradient wrappers in module assembly
       1.3.0: The color provider release
           - Add a RgbColor PSProvider that can convert colors to their escape sequences
           - Add Fg: drive and Bg: drive so you can "$Fg:Red$Bg:Blue$YourMessage"
           - Add support for x11 color names to make the drives more useful
       1.2.2: Use full namespace + class name for RgbColor
       1.2.1: Fix cmdlet export so New-Text and Write-Host show back up
              Make EXTERNALHELP work for functions
              Provide help for Get-Complement
       1.2.0: Better support for using ConsoleColors
              Added Get-Complement to calculate the HSL complement or contrasting colors
              Fixed ConsolePalette so it reads the current console colors when possible
       1.1.0: Support for serialization by the Configuration module
              Fix output of "bright" color object in ConEmu (workaround ConEmu bug)
       1.0.0: Pre-release version with support for RGB colors
       

Version History

Version Downloads Last updated
2.0.0 (current version) 1,693 5/8/2020
1.4.0-beta03 377 9/8/2018
1.4.0-beta02 9 9/6/2018
1.4.0-beta01 28 9/4/2018
1.3.0 744 4/13/2020
1.3.0-beta01 31 7/23/2018
1.2.1 14,259 10/10/2017
1.2.0 11 10/10/2017
1.0.0 1,282 5/11/2017