When I try to print colorful text using print(f"{bcolors.OKGREEN}hello{bcolors.ENDC}")
instead of green text, I get "←[92mhello←[0m".
bcolors class:
class bcolors:
PURP = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
LIGHTYELLOW = '\033[93m'
RED = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
When I run the program via VS Code terminal it prints out green text.