Skip to content

Commit

Permalink
Merge pull request #160 from kerollosy/colorama-colors
Browse files Browse the repository at this point in the history
Resolved color display problem on Windows
  • Loading branch information
LeonOstrez authored Oct 9, 2023
2 parents e972df0 + 3cf9dd4 commit 2a44a62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pilot/utils/style.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from colorama import Fore, Style
from colorama import Fore, Style, init

init()

def red(text):
return f'{Fore.RED}{text}{Style.RESET_ALL}'
Expand Down

0 comments on commit 2a44a62

Please sign in to comment.