You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see that the escape sequences are being added as expected when I use things like Fore.RED and whatnot, but instead of changing the colors, they just come out as the sequences.
It works every other way I've tried. Double clicking the script and running it through the python console, using cmd or powershell, and even copying and pasting the code into VS's interactive python console window all work fine. Just not when I run it through the debugger.
Here's some quick code that I used to demonstrate:
from colorama import just_fix_windows_console
just_fix_windows_console()
from colorama import Fore, Back, Style
print(Fore.RED + "Test text" + Style.RESET_ALL)
print("For compariston")
I can see that the escape sequences are being added as expected when I use things like Fore.RED and whatnot, but instead of changing the colors, they just come out as the sequences.
It works every other way I've tried. Double clicking the script and running it through the python console, using cmd or powershell, and even copying and pasting the code into VS's interactive python console window all work fine. Just not when I run it through the debugger.
Here's some quick code that I used to demonstrate:
Here's a link to imgur showing the difference.
Is there some setting I need to change to get it to work properly? Or is this just some VS quirk and I'm out of luck?
The text was updated successfully, but these errors were encountered: