Skip to content

basic print functions with coloured output and status prefixes for

License

Notifications You must be signed in to change notification settings

BadPixel89/colourtext

Repository files navigation

Basic coloured printing for console logging, with or without status text.

To use the colour functions on Windows in either Powershell or CMD (not Windows Terminal), you must first enable console virtualisation using the EnableVirtualConsoleStdout() and EnableVirtualConsoleStderr() functions. Otherwise the ANSI escape codes will be printed into the output as plain text.

On Mac and Linux these functions do nothing so you don't need to check the OS in your code.

About

basic print functions with coloured output and status prefixes for

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages