Skip to content

Latest commit

 

History

History
58 lines (31 loc) · 2.54 KB

README.md

File metadata and controls

58 lines (31 loc) · 2.54 KB

TrueColorConsole

24-bit coloring and VT features for .NET System.Console !

NuGet

Synopsis

The feature was announced in 24-bit Color in the Windows Console!, now you too can enjoy it in your .NET console app.

Additionally, a high-throughput mode has been implemented for demanding apps (see gallery).

Gallery

Watch a video of the above plasma running at 50 FPS in the console :)

(if your browser fails to play it, download it and use something like VLC)

Notes

See the official docs for complete reference.

Modifiers for input sequences have not been implemented, yet.

Basic functionality has been tested, advanced VT features haven't been.

The VTConsole class enables the features along a few helper methods for settings color and such, but it does not wrap Console class entirely as it's pretty big. Actually you won't need at all to change your existing code based on Console, just invoke VTConsole functions you need before/after your calls to regular console, e.g. set a 24-bit color with VTConsole and write formatted lines with Console.

Contribute

What you can do:

Share with us a link to your website showing your slick console-based game or any other type of application leveraging VT features, we'll add it here.

The public API could be extended, especially the Write... methods as currently only overloads with string are available. We therefore decided to keep it slim for the time being and at the same time not push users to deprecate Console which is absolutely not. Feedback and time will tell as on the where public API will go, you can open an issue and discuss about the subject.

Report bugs, ensure that the behavior you're encountering is not intentional by checking the official docs first.

Credits

plasma code taken from libcaca

Changes

1.0.2

  • better readme and description

1.0.1

  • full docs
  • optimization and fixes
  • all formatting features but [Foreground|Background]Extended, these are as simpler to use helper methods
  • support of non Win10 Anniversary Update systems