Skip to content

Commit cd18c0a

Browse files
committed
typing
1 parent af39e38 commit cd18c0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/textual/strip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ def render_ansi(cls, style: Style, color_system: ColorSystem) -> str:
661661
Returns:
662662
A string of ANSI escape sequences to render the style.
663663
"""
664+
sgr: list[str]
664665
if attributes := style._attributes & style._set_attributes:
665666
_style_map = SGR_STYLES
666667
sgr = [

0 commit comments

Comments
 (0)