diff options
author | Jake Drahos <drahos.jake@gmail.com> | 2015-06-11 12:02:15 -0500 |
---|---|---|
committer | Jake Drahos <drahos.jake@gmail.com> | 2015-06-11 12:02:15 -0500 |
commit | 13e71eba100a36a9464b0f09b5f6dbfcbec17833 (patch) | |
tree | cb7c7a35b46b706a74d043ca73d1b1bea437316b /libmproxy/console | |
parent | a34eeb9a281fa4cd036d2ede096dbe44f78ab1d2 (diff) | |
download | mitmproxy-13e71eba100a36a9464b0f09b5f6dbfcbec17833.tar.gz mitmproxy-13e71eba100a36a9464b0f09b5f6dbfcbec17833.tar.bz2 mitmproxy-13e71eba100a36a9464b0f09b5f6dbfcbec17833.zip |
Changed symbols and colors
Added a better symbol for the mark, and changed the color to red. This helps it
stand out more easily.
Diffstat (limited to 'libmproxy/console')
-rw-r--r-- | libmproxy/console/common.py | 3 | ||||
-rw-r--r-- | libmproxy/console/palettes.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libmproxy/console/common.py b/libmproxy/console/common.py index 584b7475..51911746 100644 --- a/libmproxy/console/common.py +++ b/libmproxy/console/common.py @@ -115,10 +115,11 @@ def fcol(s, attr): if urwid.util.detected_encoding: SYMBOL_REPLAY = u"\u21ba" SYMBOL_RETURN = u"\u2190" - SYMBOL_MARK = "===" + SYMBOL_MARK = u"[M] \u2192" else: SYMBOL_REPLAY = u"[r]" SYMBOL_RETURN = u"<-" + SYMBOL_MARK = "[M] ==>" def raw_format_flow(f, focus, extended, padding): diff --git a/libmproxy/console/palettes.py b/libmproxy/console/palettes.py index ea3d1b62..d897a0a2 100644 --- a/libmproxy/console/palettes.py +++ b/libmproxy/console/palettes.py @@ -24,7 +24,7 @@ class Palette: 'method', 'focus', 'code_200', 'code_300', 'code_400', 'code_500', 'code_other', 'error', - 'header', 'highlight', 'intercept', 'replay', + 'header', 'highlight', 'intercept', 'replay', 'mark', # Hex view 'offset', @@ -104,6 +104,7 @@ class LowDark(Palette): highlight = ('white,bold', 'default'), intercept = ('brown', 'default'), replay = ('light green', 'default'), + mark = ('light red', 'default'), # Hex view offset = ('dark cyan', 'default'), @@ -167,6 +168,7 @@ class LowLight(Palette): highlight = ('black,bold', 'default'), intercept = ('brown', 'default'), replay = ('dark green', 'default'), + mark = ('dark red', 'default'), # Hex view offset = ('dark blue', 'default'), |