Skip to content

Commit

Permalink
fix: don't produce output when imported with $FORCE_COLOR=1 env
Browse files Browse the repository at this point in the history
Only fix Windows console with Colorama.

Fix #1378
  • Loading branch information
pawamoy authored Oct 29, 2023
1 parent 9ea980f commit 5cc7f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copier/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from .types import IntSeq

colorama.init()
colorama.just_fix_windows_console()


class Style:
Expand Down

0 comments on commit 5cc7f67

Please sign in to comment.