From 38ddbcc314698724bfb19d0f4a5feef238262e96 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 25 Aug 2012 13:29:05 +1200 Subject: Add a snippet to GridEditor help text explaining that we're using escaped strings. --- libmproxy/console/grideditor.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libmproxy/console') 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() -- cgit v1.2.3