From c1788c37a14d74a0324c973590930cb60c34c9cd Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 8 Apr 2012 15:00:38 +1200 Subject: [PATCH] Wrap on any character for body text display. --- .gitignore | 2 +- libmproxy/console/contentview.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 782116d32..dceac379c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ MANIFEST /dist /tmp /doc -*.py[cd] +*.py[cdo] *.swp *.swo mitmproxyc diff --git a/libmproxy/console/contentview.py b/libmproxy/console/contentview.py index 97d217f28..7ac535bb1 100644 --- a/libmproxy/console/contentview.py +++ b/libmproxy/console/contentview.py @@ -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