Wrap on any character for body text display.

This commit is contained in:
Aldo Cortesi 2012-04-08 15:00:38 +12:00
parent a4f7728fad
commit c1788c37a1
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -3,7 +3,7 @@ MANIFEST
/dist
/tmp
/doc
*.py[cd]
*.py[cdo]
*.swp
*.swo
mitmproxyc

View File

@ -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