PrettyConsole 1.6.0

Suggested Alternatives

PrettyConsole 2.0.0

Additional Details

The older PrettyConsole versions used old apis, the design of the package no longer feels right with modern standards, and some features heavily consume resources. It is recommended to migrate to version  > 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package PrettyConsole --version 1.6.0
NuGet\Install-Package PrettyConsole -Version 1.6.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PrettyConsole" Version="1.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PrettyConsole --version 1.6.0
#r "nuget: PrettyConsole, 1.6.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PrettyConsole as a Cake Addin
#addin nuget:?package=PrettyConsole&version=1.6.0

// Install PrettyConsole as a Cake Tool
#tool nuget:?package=PrettyConsole&version=1.6.0

PrettyConsole

An abstraction over System.Console that adds new input and output methods, colors and advanced outputs like progress bars and menus. And everything is ansi supported so it works on legacy systems and terminals.

Features

  • 🚀 High performance, Low memory usage and allocation
  • ðŸŠķ Very lightweight (No external dependencies)
  • Easy to use (no need to learn a new syntax while still writing less boilerplate code)
  • 🔌 Plug and play (most of the time you don't need to change your code much)
  • ðŸ’ū Supports legacy ansi terminals (like Windows 7)
  • ✂ Trimming friendly (documented trim warnings and working alternatives for everything)
  • Supports all platforms (Windows, Linux, Mac)
  • 😎 Beautifully uniform out of the box (Default colors that can be customized)
  • ⛓ Uses original output pipes, so that your cli's can be piped properly.

Usage

The most convenient way to use this package is to add this using statement: using static PrettyConsole.Console;
Then use most of the default method signatures such as Write, WriteLine, ReadLine and so on, conveniently they are named exactly the same as the regular C# counterparts.

For more information about these methods and additional ones, check the Wiki.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 124 3/2/2024
1.6.1 225 6/30/2023
1.6.0 188 6/26/2023
1.5.2 215 4/14/2023
1.5.1 319 12/21/2022
1.5.0 366 12/4/2022
1.4.0 441 8/4/2022
1.3.0 433 7/14/2022
1.2.0 417 7/5/2022
1.1.0 412 6/18/2022
1.0.2 439 6/14/2022
1.0.1 449 6/14/2022
1.0.0 473 6/12/2022