diff options
author | Maximilian Hils <git@maximilianhils.com> | 2020-05-03 10:51:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-03 10:51:10 +0200 |
commit | f4aa3ee11c01d5b8f260e57bfd7e084b7767c08e (patch) | |
tree | 9befc172c55f736ff3c3394b0fa6ab88fea90313 /mitmproxy/tools/console/palettes.py | |
parent | a802899491ba87218d7878bc4ac73dcf59c9275e (diff) | |
parent | fe75f14ea29d0654c3a688ecc4c3669a946ea2a8 (diff) | |
download | mitmproxy-f4aa3ee11c01d5b8f260e57bfd7e084b7767c08e.tar.gz mitmproxy-f4aa3ee11c01d5b8f260e57bfd7e084b7767c08e.tar.bz2 mitmproxy-f4aa3ee11c01d5b8f260e57bfd7e084b7767c08e.zip |
Merge pull request #3970 from nikitastupin/master
Integrate contentviews to TCP flow details
Diffstat (limited to 'mitmproxy/tools/console/palettes.py')
-rw-r--r-- | mitmproxy/tools/console/palettes.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mitmproxy/tools/console/palettes.py b/mitmproxy/tools/console/palettes.py index a680a5a7..15745df5 100644 --- a/mitmproxy/tools/console/palettes.py +++ b/mitmproxy/tools/console/palettes.py @@ -37,6 +37,9 @@ class Palette: # JSON view 'json_string', 'json_number', 'json_boolean', + # TCP flow details + 'from_client', 'to_client', + # Grid Editor 'focusfield', 'focusfield_error', 'field_error', 'editfield', @@ -177,6 +180,10 @@ class LowDark(Palette): json_number = ('light magenta', 'default'), json_boolean = ('dark magenta', 'default'), + # TCP flow details + from_client = ('light blue', 'default'), + to_client = ('light red', 'default'), + # Grid Editor focusfield = ('black', 'light gray'), focusfield_error = ('dark red', 'light gray'), @@ -282,6 +289,10 @@ class LowLight(Palette): json_number = ('light magenta', 'default'), json_boolean = ('dark magenta', 'default'), + # TCP flow details + from_client = ('dark blue', 'default'), + to_client = ('dark red', 'default'), + # Grid Editor focusfield = ('black', 'light gray'), focusfield_error = ('dark red', 'light gray'), @@ -397,6 +408,10 @@ class SolarizedLight(LowLight): json_number = (sol_blue, 'default'), json_boolean = (sol_magenta, 'default'), + # TCP flow details + from_client = (sol_blue, 'default'), + to_client = (sol_red, 'default'), + # Grid Editor focusfield = (sol_base00, sol_base2), focusfield_error = (sol_red, sol_base2), @@ -475,6 +490,10 @@ class SolarizedDark(LowDark): json_number = (sol_blue, 'default'), json_boolean = (sol_magenta, 'default'), + # TCP flow details + from_client = (sol_blue, 'default'), + to_client = (sol_red, 'default'), + # Grid Editor focusfield = (sol_base0, sol_base02), focusfield_error = (sol_red, sol_base02), |