Issue with colorama module causing entire ASCII art to turn white in Python

72 views Asked by At

Heyo! I'm trying to create a cool Python program with an ASCII art. However, I'm facing an issue where the specific text I want in white is making the entire ASCII art and everything below it white. I want only the text beside the ASCII art to be white while the rest remains the same color. Here's the code I have so far:

Please note that all the required libraries are already installed, and I'm just showing a portion of the code.

import colorama
from colorama import Fore, Style, init

init(autoreset=True)

def menu():
    print(f'''
{Fore.CYAN}
           ___          
          /   \\        
      /\\ | . . \\       
    ////\\|     ||       
  ////   \\ ___//\       
 ///      \\      \      
///       |\\      |     
//         | \\  \   \    
/          |  \\  \   \   {Fore.WHITE}Karma
         |   \\ /   /   {Fore.WHITE}- Keys
         |    \/   /    
         |     \\/|     
         |      \\|     
         |       \\     
         |        |     
         |_________\\     

Choose Your Option:
[ 01 ]
[ 02 ]
[ 03 ]

{Style.RESET_ALL}
''')

    command = input("[ Option ] ")

menu()
0

There are 0 answers