diff options
author | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-04-24 16:24:53 -0500 |
---|---|---|
committer | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-04-24 16:24:53 -0500 |
commit | a44b60ca35de43f1a8da09fb498474d9e25c55bc (patch) | |
tree | 3462e1702c1632d8d5e56d9f0025c8d223e33f06 /clients | |
parent | 86e91102ebe676a989f27784057002bd664805b0 (diff) | |
download | bbj-a44b60ca35de43f1a8da09fb498474d9e25c55bc.tar.gz |
small source code formatting blips
Diffstat (limited to 'clients')
-rw-r--r-- | clients/urwid/main.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/clients/urwid/main.py b/clients/urwid/main.py index c1b2af0..fa343a3 100644 --- a/clients/urwid/main.py +++ b/clients/urwid/main.py @@ -938,9 +938,13 @@ class App(object): def formatting_help(self, *_): """ - Pops a help window with formatting directives. + Pops a help window for formatting directives. """ - message = network.fake_message("\n\n".join(format_help)) + # we can "recycle" the server's formatting abilities to + # use the same syntax for the help text itself + message = network.fake_message( + "\n\n".join(format_help), format="sequential") + widget = OptionsMenu( urwid.ListBox( urwid.SimpleFocusListWalker([ |