Homebrew Project color3ds - Adding color and other functionality to C++ console homebrew

nfoert

Member
OP
Newcomer
Joined
Apr 5, 2023
Messages
10
Trophies
0
Age
16
XP
55
Country
United States
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 (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,
  • Like
Reactions: Alexiox

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/ZpMdTnZkpRQ?si=Q2MI4UugoSYifY7G Neat