diff --git a/src/acurses.py b/src/acurses.py index eebd76b..9615982 100644 --- a/src/acurses.py +++ b/src/acurses.py @@ -105,8 +105,7 @@ def _parse_attrs(self, attrs: int) -> str: background = ansi_code continue if ansi_code // 10 == 3 and background != 0: - output += f"\033[{ansi_code};{background}m" - continue + ansi_code = f"{ansi_code};{background}" output += f"\033[{ansi_code}m" return output