Closed
Description
The bug
The [blink] tag does not work properly inside Static starting from version 2.0.0. (Platform: Windows, Python version: 3.11+)
Description
In Textual 1.0.0, the following code correctly displays blinking yellow text inside a Static widget. However, in Textual 2.0.0 and later, the text appears in plain white and does not blink.
from textual.app import App, ComposeResult
from textual.containers import Container
from textual.widgets import Static
from textual import __version__
class BlinkTestApp(App):
def compose(self) -> ComposeResult:
yield Container(Static(f"[blink yellow]Test blink - {__version__}[/]"))
if __name__ == "__main__":
BlinkTestApp().run()
Expected Behavior
The text should appear in yellow and blink, as it did in version 1.0.0.
Actual Behavior
The text is displayed in plain white and does not blink.
Metadata
Metadata
Assignees
Labels
No labels