mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 18:57:22 +00:00
Changed symbols and colors
Added a better symbol for the mark, and changed the color to red. This helps it stand out more easily.
This commit is contained in:
parent
a34eeb9a28
commit
13e71eba10
2 changed files with 5 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue