diff options
Diffstat (limited to 'libmproxy/console')
-rw-r--r-- | libmproxy/console/__init__.py | 1 | ||||
-rw-r--r-- | libmproxy/console/common.py | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index b07a6fe1..2f835189 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -318,7 +318,6 @@ class ConsoleMaster(flow.FlowMaster): ('heading_key', "q"), ":back", ] footer_text_flowview = [ - ('heading_key', "tab"), ":toggle view ", ('heading_key', "?"), ":help ", ('heading_key', "q"), ":back ", ] diff --git a/libmproxy/console/common.py b/libmproxy/console/common.py index fbeb83d7..d1c6303a 100644 --- a/libmproxy/console/common.py +++ b/libmproxy/console/common.py @@ -84,6 +84,8 @@ def fcol(s, attr): +REPLAY_SYMBOL = u"\u21ba" + def format_flow(f, focus, extended=False, padding=2): pile = [] @@ -98,7 +100,7 @@ def format_flow(f, focus, extended=False, padding=2): else: req.append(fcol(">>" if focus else " ", "focus")) if f.request.is_replay(): - req.append(fcol(u"\u267B", "replay")) + req.append(fcol(REPLAY_SYMBOL, "replay")) req.append(fcol(f.request.method, "method")) preamble = sum(i[1] for i in req) + len(req) -1 @@ -126,7 +128,7 @@ def format_flow(f, focus, extended=False, padding=2): if f.response: if f.response.is_replay(): - resp.append(fcol(u"\u267B", "replay")) + resp.append(fcol(REPLAY_SYMBOL, "replay")) if f.response.code in [200, 304]: resp.append(fcol(f.response.code, "goodcode")) else: |