Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.5 KB

File metadata and controls

28 lines (20 loc) · 1.5 KB

AshConsoleGraphics

NuGet NuGet

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