diff --git a/cli_progress/ANSIWidget.py b/cli_progress/ANSIWidget.py index c6c31c5..fce4db0 100644 --- a/cli_progress/ANSIWidget.py +++ b/cli_progress/ANSIWidget.py @@ -34,7 +34,7 @@ def content( if i < len(self.text_lines): text = self.text_lines[i] else: - text = b"" + text = "" padding = bytes().rjust(max(0, cols - len(escape_ansi(text)))) line = [(None, "U", text.encode("utf-8") + padding)]