Skip to content

[BUG] Regression: Rich rendering of console status broken in 10.2.0 and above #1244

@tbabej

Description

@tbabej

Rich rendering of the console status is broken in 10.2.0 and above (broken both on 10.2.0 and 10.2.1, works on 10.1.0)

To reproduce, use this minimal snippet

import time
import rich.console
console = rich.console.Console()

console.print("[green] This text is green [/]")
with console.status("[green] This text should also be green [/]"):
    time.sleep(10)

which produces the following result on 10.2.0 and later:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions