Hacker News new | ask | show | jobs
by Akshat412 2775 days ago
Hey man, thank you so much for the kind words! It really made my day. Will rewriting the function I made in "resources.h" (setcolor(), from line 682)[1] using ANSI escape codes do the job?

1. https://github.com/Akshat412/Caverns-Kobolds/blob/master/Sou...

1 comments

Yes, exactly.

If you refer to the pull request I opened on your repository, I added a preprocessor conditional in that function for a Windows and non-Windows implementation of the function.

The non-Windows part of the conditional just has to be written.