mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Make cleanBin escape carriage returns.
We get confusing output on terminals if we leave \r unescaped.
This commit is contained in:
parent
b308824193
commit
064b4c8001
@ -10,7 +10,7 @@ def cleanBin(s, fixspacing=False):
|
||||
o = ord(i)
|
||||
if (o > 31 and o < 127):
|
||||
parts.append(i)
|
||||
elif i in "\n\r\t" and not fixspacing:
|
||||
elif i in "\n\t" and not fixspacing:
|
||||
parts.append(i)
|
||||
else:
|
||||
parts.append(".")
|
||||
|
Loading…
Reference in New Issue
Block a user