I have yet another question regarding my little console program for the windows cmd.
I use colorama to color my text in the terminal which makes it look like this:
Then I found out how to color the text in an input()
-method using a little "hack" with a print without linebreak, like this:
from colorama import init
init(autoreset=True)
YELLOW = "\x1b[1;33;40m"
print(f"\n{YELLOW}Turnier spielen? [T]: ", end='')
tournament = input()
this leads to the yellow line in the picture above.
But I still look for a way to color the very characters the user inputs - so here I would like to format the user input "sdffdgf..." in color as well.
has anyone a solution for me or will it just not be possible with the limited windows cmd?