diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-04-03 14:38:04 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-04-03 14:38:04 +1300 |
commit | 57bdb893425058d03b1aaf28e1c774c81a8d9403 (patch) | |
tree | 17de62670b18626f9f941dfbf4270d5363be3f8a /libmproxy/console/palettes.py | |
parent | 65971f02ade7cc2126b4142a32c363e02112f95c (diff) | |
download | mitmproxy-57bdb893425058d03b1aaf28e1c774c81a8d9403.tar.gz mitmproxy-57bdb893425058d03b1aaf28e1c774c81a8d9403.tar.bz2 mitmproxy-57bdb893425058d03b1aaf28e1c774c81a8d9403.zip |
console: keyboard shortcuts for options
Diffstat (limited to 'libmproxy/console/palettes.py')
-rw-r--r-- | libmproxy/console/palettes.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmproxy/console/palettes.py b/libmproxy/console/palettes.py index 020863f8..98a1e042 100644 --- a/libmproxy/console/palettes.py +++ b/libmproxy/console/palettes.py @@ -19,6 +19,7 @@ class Palette: # Options 'option_selected', 'option_active', 'option_active_selected', + 'option_selected_key', # List and Connections 'method', 'focus', @@ -120,6 +121,7 @@ class LowLight(Palette): # Options option_selected = ('light gray', 'dark blue'), + option_selected_key = ('dark blue,bold', 'dark blue'), option_active = ('light red', 'default'), option_active_selected = ('light red', 'dark blue'), @@ -194,6 +196,7 @@ class SolarizedLight(LowLight): # Options option_selected = (sol_base2, sol_base02), + option_selected_key = (sol_blue, sol_base02), option_active = (sol_orange, 'default'), option_active_selected = (sol_orange, sol_base02), @@ -271,7 +274,7 @@ class SolarizedDark(LowDark): palettes = { - #"lowlight": LowLight(), + "lowlight": LowLight(), #"lowdark": LowDark(), #"light": Light(), #"dark": Dark(), |