Skip to content

Repository files navigation

Ez console

Add colors and easily manage the console lines.

Download:

Last release
NuGet Package

How to use it?

// Rename them watever you wantusingezConsole=Ez_console.Console;usingBC=Ez_console.Background_color;// Background colorusingFC=Ez_console.Foreground_color;// Foreground color// Write Hello in black with a white backgroundezConsole.WriteLine($"{BC.white}{FC.black}Hello!");// Write to the line 7 with the maximum of 2 lines allowed and with Word Wrap enabledezConsole.WriteToLine($"This line is very long like {BC.red}very very {FC.yellow}long{BC.reset}{FC.reset} that is going to be ouside the window and the line below are going to be eaten! (or not)",7,2);// Write a line with Word Wrap enabledezConsole.WriteLine("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.");

Under The Unlicense license.

About

Add colors and easily manage the console lines

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages