Skip to content

Commit

Permalink
fix: --color=always does not always output color
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanj committed Nov 19, 2024
1 parent 4dfa89a commit 1f7b1cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/eliottree/_color.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import colored as _colored


# Disable `colored` TTY awareness, since we handle this ourselves.
_colored.set_tty_aware(awareness=False)

attr_codes = {
'bold': 1,
'dim': 2,
Expand Down

0 comments on commit 1f7b1cc

Please sign in to comment.