ashConsoleGraphics 2.2.6

dotnet add package ashConsoleGraphics --version 2.2.6
                    
NuGet\Install-Package ashConsoleGraphics -Version 2.2.6
                    
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="ashConsoleGraphics" Version="2.2.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ashConsoleGraphics" Version="2.2.6" />
                    
Directory.Packages.props
<PackageReference Include="ashConsoleGraphics" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ashConsoleGraphics --version 2.2.6
                    
#r "nuget: ashConsoleGraphics, 2.2.6"
                    
#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.
#:package ashConsoleGraphics@2.2.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ashConsoleGraphics&version=2.2.6
                    
Install as a Cake Addin
#tool nuget:?package=ashConsoleGraphics&version=2.2.6
                    
Install as a Cake Tool

AshConsoleGraphics

<img src="res/icon.png" width="200"/> UIs and user interfaces in your console!

Installation

To add it to your project, do dotnet add package ashConsoleGraphics --version 2.2.6

Usage

There are Elements that have a graphical buffer, and screens hold these elements and display them. Screens are elements too, allowing for nesting.
Additionally, there are selectable elements for using with interactive screens. These are buttons, option pickers and even text input.

Colors & CharFormat

The Color struct used is from the library AshLib
Also, the CharFormat is used, that allows for bold, italic, strike-through, underlined and colored text, with ANSI escape sequences. This class is too from the library AshLib

NO_COLOR

Because this library uses AshLib, it too supporsts NO_COLOR environment variable. Read more here

Documentation and Examples

There is a very complete API documentation and tutorials made with DocFx available here
There are also examples in here

License

This software is licensed under the MIT License

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

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.2.6 24 1/29/2026
2.2.5 37 1/28/2026
2.2.4 186 12/25/2025
2.2.3 165 12/14/2025
2.2.2 427 12/11/2025
2.2.1 218 7/15/2025
2.2.0 220 7/14/2025
2.1.5 177 6/28/2025
2.1.4 168 6/28/2025
2.1.3 202 6/22/2025
2.1.2 187 6/20/2025
2.1.1 208 6/19/2025
2.1.0 309 5/14/2025
2.0.0 243 4/3/2025
1.2.1 231 4/24/2024
1.2.0 231 2/25/2024
1.1.0 293 5/21/2023
1.0.2 279 5/12/2023
1.0.1 273 5/11/2023

2.2.6 updated AshLib