diff options
| -rw-r--r-- | urwid/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urwid/util.py b/urwid/util.py index 9505d74..7fe2b6c 100644 --- a/urwid/util.py +++ b/urwid/util.py @@ -158,7 +158,7 @@ def apply_target_encoding(s: str | bytes): sin = sl[0] assert isinstance(sin, bytes) sout.append(sin) - rle_append_modify(cout, (escape.DEC_TAG.encode('ascii'), len(sin))) + rle_append_modify(cout, (escape.DEC_TAG, len(sin))) continue sin, son = sl son = son.replace(SI, b'') |
