Project: aptanastudio
Issue APSTUD-4926: Support ANSI colors in terminal output
Symptom: Ruby :Color Code is not working in Console Output h3. Steps to Reproduce Type This code and Show Output ######Code Starts from Here######## def colorize(text, color_code) "#{color_code}#{text}e[0m" end def red(text); colorize(text, 'e[31m'); end def green(text); colorize(text, "e[32m"); end puts 'Importing categories [ ' + green('DONE') + ' ]' puts 'Importing tags [' + red('FAILED') + ']' ######Code Ends Here######## h3. Actual Result not Colorized Output h3. Expected Result Display some color as per no.
Story points: 20