Add a snippet to GridEditor help text explaining that we're using escaped strings.

This commit is contained in:
Aldo Cortesi 2012-08-25 13:29:05 +12:00
parent 87463049f1
commit 38ddbcc314
1 changed files with 8 additions and 0 deletions

View File

@ -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()