mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
Wrap on any character for body text display.
This commit is contained in:
parent
a4f7728fad
commit
c1788c37a1
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,7 +3,7 @@ MANIFEST
|
||||
/dist
|
||||
/tmp
|
||||
/doc
|
||||
*.py[cd]
|
||||
*.py[cdo]
|
||||
*.swp
|
||||
*.swo
|
||||
mitmproxyc
|
||||
|
@ -96,7 +96,7 @@ def _view_text(content, total):
|
||||
txt = []
|
||||
for i in utils.cleanBin(content).splitlines():
|
||||
txt.append(
|
||||
urwid.Text(("text", i))
|
||||
urwid.Text(("text", i), wrap="any")
|
||||
)
|
||||
trailer(total, txt)
|
||||
return txt
|
||||
|
Loading…
Reference in New Issue
Block a user