-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Line 8 in 25a4b90
| def _(s): return s.decode('unicode_escape'); |
I'm in no way python enthusiast but this line results in error:
File "/home/pholat/.local/lib/python3.6/site-packages/ansiescapes.py", line 8, in _
def _(s): return s.decode('unicode_escape');
AttributeError: 'str' object has no attribute 'decode'
So shouldn't it be decode?
Also to actually use to manipulate terminal with sys.stdout.buffer.write imho ESC should be:
\033[ although there is character [ added, while it's not a part of escape key :) as well as it shouldn't be ansii_escaped so that it would actually work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels