mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +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
|
/dist
|
||||||
/tmp
|
/tmp
|
||||||
/doc
|
/doc
|
||||||
*.py[cd]
|
*.py[cdo]
|
||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
mitmproxyc
|
mitmproxyc
|
||||||
|
@ -96,7 +96,7 @@ def _view_text(content, total):
|
|||||||
txt = []
|
txt = []
|
||||||
for i in utils.cleanBin(content).splitlines():
|
for i in utils.cleanBin(content).splitlines():
|
||||||
txt.append(
|
txt.append(
|
||||||
urwid.Text(("text", i))
|
urwid.Text(("text", i), wrap="any")
|
||||||
)
|
)
|
||||||
trailer(total, txt)
|
trailer(total, txt)
|
||||||
return txt
|
return txt
|
||||||
|
Loading…
Reference in New Issue
Block a user