diff options
author | Maximilian Hils <git@maximilianhils.com> | 2020-04-11 23:59:31 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2020-04-12 00:00:45 +0200 |
commit | d33857588cc8351da17fed9ea2486b8b193bd8b8 (patch) | |
tree | ef9234846c507d9d1f03029fe81cf3462edd232c /mitmproxy/tools/console/flowview.py | |
parent | f96b41b6e624852613ae0daced8bc8076246d243 (diff) | |
download | mitmproxy-d33857588cc8351da17fed9ea2486b8b193bd8b8.tar.gz mitmproxy-d33857588cc8351da17fed9ea2486b8b193bd8b8.tar.bz2 mitmproxy-d33857588cc8351da17fed9ea2486b8b193bd8b8.zip |
fixup flow rendering
this was a convoluted mess before and a nightmare to maintain.
the new implementation is a bit more verbose, but it can be type-checked
for errors.
Diffstat (limited to 'mitmproxy/tools/console/flowview.py')
-rw-r--r-- | mitmproxy/tools/console/flowview.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mitmproxy/tools/console/flowview.py b/mitmproxy/tools/console/flowview.py index 2fa1df1f..60321e46 100644 --- a/mitmproxy/tools/console/flowview.py +++ b/mitmproxy/tools/console/flowview.py @@ -35,11 +35,8 @@ class FlowViewHeader(urwid.WidgetWrap): if self.master.view.focus.flow: self._w = common.format_flow( self.master.view.focus.flow, - False, - extended=True, + render_mode=common.RenderMode.DETAILVIEW, hostheader=self.master.options.showhost, - cols=cols, - layout=self.master.options.console_flowlist_layout ) else: self._w = urwid.Pile([]) |