rich
rich copied to clipboard
[BUG] Setting style to TaskProgressColumn does not change displayed text style
- [x] I've checked docs and closed issues for possible solutions.
- [x] I can't find my issue in the FAQ.
Describe the bug
Setting style
to TaskProgressColumn
does not change displayed text style:
from time import sleep
from rich.progress import Progress, TaskProgressColumn
progress_column = TaskProgressColumn(style="red")
progress = Progress(progress_column)
with progress:
for n in progress.track(range(100)):
sleep(0.1)
Result:
(not red)
Platform
Click to expand
What platform (Win/Linux/Mac) are you running on?
- Windows 11 connected to Ubuntu 20.04 via ssh
What terminal software are you using?
- Windows Terminal
I may ask you to copy and paste the output of the following commands. It may save some time if you do it now.
If you're using Rich in a terminal:
╭───────────────────────── <class 'rich.console.Console'> ─────────────────────────╮
│ A high level console interface. │
│ │
│ ╭──────────────────────────────────────────────────────────────────────────────╮ │
│ │ <console width=156 ColorSystem.EIGHT_BIT> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ color_system = '256' │
│ encoding = 'utf-8' │
│ file = <_io.TextIOWrapper name='
rich==13.5.3