tartley / colorama

Simple cross-platform colored terminal text in Python
BSD 3-Clause "New" or "Revised" License
3.56k stars 252 forks source link

request update regarding 'colorama not working with input() #261

Closed oseda68 closed 3 years ago

oseda68 commented 4 years ago

Hi, have Pycharm with windows 10 . I have the same issue with colorama. Ive been reading user comments from years ago on this. Has there been any resolution to address this problem for 2020? Paul

oseda68 commented 4 years ago

print(Fore.BLUE +' Continue? y or n: \n', end = '')
ans = input().lower() This does work, submitted by others Is this a good solution?

Muhimen123 commented 4 years ago
import colorama
colorama.init()
print(colorama.Fore.GREEN)
number = input("Enter a number here: ")

This code works for me

wiggin15 commented 3 years ago

Duplicate of #103