I need help writing a function to parse strings for ansi colors (\033[33m ..etc) into information I can use to print these strings into an ncurses window. If I could get the strings seperated and a ansi color code, I could translate it, print stuff and move on.