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

  • Thread starter Thread starter nfoert
  • Start date Start date
  • Views Views 860
  • Replies Replies 0
  • Likes Likes 1

nfoert

Member
Newcomer
Joined
Apr 5, 2023
Messages
10
Reaction score
9
Trophies
0
Age
18
XP
75
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