diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-08-25 13:29:05 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-08-25 13:29:05 +1200 |
commit | 38ddbcc314698724bfb19d0f4a5feef238262e96 (patch) | |
tree | bedc737ee37c872271945fb1ba5a5f84cdc3fcf9 /libmproxy/console | |
parent | 87463049f117931994e9a3d99f62aff2be79e7e2 (diff) | |
download | mitmproxy-38ddbcc314698724bfb19d0f4a5feef238262e96.tar.gz mitmproxy-38ddbcc314698724bfb19d0f4a5feef238262e96.tar.bz2 mitmproxy-38ddbcc314698724bfb19d0f4a5feef238262e96.zip |
Add a snippet to GridEditor help text explaining that we're using escaped strings.
Diffstat (limited to 'libmproxy/console')
-rw-r--r-- | libmproxy/console/grideditor.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libmproxy/console/grideditor.py b/libmproxy/console/grideditor.py index 34c089b2..60329ddc 100644 --- a/libmproxy/console/grideditor.py +++ b/libmproxy/console/grideditor.py @@ -34,6 +34,14 @@ def _mkhelp(): ("enter", "edit field"), ] text.extend(common.format_keyvals(keys, key="key", val="text", indent=4)) + text.append( + urwid.Text( + [ + "\n", + ("text", " Values are displayed and edited as escaped Python-style strings.\n"), + ] + ) + ) return text help_context = _mkhelp() |