I don't know how many of you make homebrew console apps, but I'm going to make one and wanted some color. I didn't like having all the ASCII codes everywhere though (
You can check it out on my GitHub. There's examples and usage instructions there, plus a demo homebrew included if you want to see what it looks like.
I've been learning C++ so forgive me if it's not very good code!
I hope this is helpful to someone!
std::cout << "\x1b[31mHello, world!" << std::endl;
) So I made a little program that you can add to your console projects to quickly add color. It also supports moving the position of the line to print and to reset the color to default which is quite helpful for me.You can check it out on my GitHub. There's examples and usage instructions there, plus a demo homebrew included if you want to see what it looks like.
I've been learning C++ so forgive me if it's not very good code!
I hope this is helpful to someone!
Last edited by nfoert,