Giter Club home page Giter Club logo

pansies's Introduction

PansiesPansies

Powershell ANSI Escape Sequences

This module contains classes and functions for doing ANSI colored output using Virtual Terminal escape sequences in the console from .Net and PowerShell on platforms where they are supported: Windows 10, Linux, OS X, etc.

I ♥ PS> function prompt { "I $(New-Text "♥" -fg "DarkRed") PS> " }

The goal of this project is to experiment with some classes and interfaces to try and address PowerShell #2381 and give PowerShell full RGB support for Write-Host, but also provide full color support in format files, etc.

Installing

It requires PowerShell 5 or higher and an ANSI-capable host like xTerm, the Windows 10 Console, or ConEmu. If you can satisfy those requirements, you can install it from the gallery:

Install-Module Pansies -AllowClobber

If you have troubles, please file issues:

Building from source.

There are two submodules being used (my personally modified versions of ColorMine and p2f), but it's very simple to get them all and compile them.

Compiling Pansies requires the .NET Command Line Tools (v2.0.2 or newer) and my Configuration module.

With those dependencies preinstalled and on your path, you can just:

git clone --recursive https://github.com/PoshCode/Pansies.git
.\Pansies\Build.ps1

Note: if you have an older copy of the repository (prior to me including ColorMine and p2f as submodules), you can update from the Pansied folder with:

git submodule update --init -recursive

For more details ...

See the Docs/Pansies.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.