From 61fab03b24bdb53d203eb7fb68ba891874d11114 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 3 Apr 2012 11:10:25 +1200 Subject: Add a details page, available from a flow view with the 'X' shortcut At the moment, this shows the upstream SSL certificate details. More fine-grained detail that doesn't fit in the flow view itself will be added. --- libmproxy/console/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmproxy/console/common.py') diff --git a/libmproxy/console/common.py b/libmproxy/console/common.py index d172209e..2d4c98ea 100644 --- a/libmproxy/console/common.py +++ b/libmproxy/console/common.py @@ -61,8 +61,8 @@ def format_keyvals(lst, key="key", val="text", indent=0): maxk, urwid.Text([(key, kv[0] or "")]) ), - urwid.Text([(val, kv[1])]) - ]) + kv[1] if isinstance(kv[1], urwid.Widget) else urwid.Text([(val, kv[1])]) + ]) ret.append(urwid.Columns(cols, dividechars = 2)) return ret -- cgit v1.2.3