diff options
author | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-04-16 13:54:00 -0500 |
---|---|---|
committer | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-04-16 13:54:00 -0500 |
commit | 610930b8534e956840a6a009495392154267975e (patch) | |
tree | 9f8678b03209a4df0e8028c775c16b7031825734 /clients/urwid/main.py | |
parent | a405579d5f27596b987a78de1d8eef9ac468bbe2 (diff) | |
download | bbj-610930b8534e956840a6a009495392154267975e.tar.gz |
update nav bar to slightly more concise; add new notes to help
Diffstat (limited to 'clients/urwid/main.py')
-rw-r--r-- | clients/urwid/main.py | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/clients/urwid/main.py b/clients/urwid/main.py index 0ad2f04..029c765 100644 --- a/clients/urwid/main.py +++ b/clients/urwid/main.py @@ -138,6 +138,8 @@ format_help = [ general_help = [ ("bold", "use q or escape to close dialogs and menus (including this one)\n\n"), + ("10", "use q, escape, or a left directional key to go back at any point" + " from just about anywhere.\n\n"), ("20", "use the o key to change your settings when this dialog is closed\n\n"), "You may use the arrow keys, or use ", ("button", "jk/np/Control-n|p"), @@ -186,7 +188,7 @@ default_prefs = { bars = { "index": "[RET]Open [C]ompose [R]efresh [O]ptions [?]Help [Q]uit", - "thread": "[C]ompose [RET]Interact [Q]Back [R]efresh [0-9]Goto [B/T]End [</>]Jump[X]%d" + "thread": "[C]ompose [^R]eply [R]efresh [RET]Menu [0-9]Goto [B/T]End [</>]Jump[X]%d" } colormap = [ @@ -1567,7 +1569,7 @@ class ActionBox(urwid.ListBox): elif keyl in ["l", "right"]: self.keypress(size, "enter") - elif keyl in ["h", "left", "q"]: + elif keyl in ["esc", "h", "left", "q"]: app.back(keyl == "q") elif keyl == "b": @@ -1610,7 +1612,7 @@ class ActionBox(urwid.ListBox): elif keyl in ["r", "f5"] and not overlay: app.refresh() - elif app.mode == "thread" and not app.window_split: + elif app.mode == "thread" and not app.window_split and not overlay: message = app.thread["messages"][app.get_focus_post()] if keyl == "ctrl e": @@ -1619,12 +1621,12 @@ class ActionBox(urwid.ListBox): elif keyl == "ctrl r": app.reply(None, message) - elif keyl == '"': - quotes = app.get_quotes(message) - if quotes: - app.quote_view_menu(None, quotes) - else: - app.temp_footer_message("This message has no quotes.") + # elif keyl == '"': + # quotes = app.get_quotes(message) + # if quotes: + # app.quote_view_menu(None, quotes) + # else: + # app.temp_footer_message("This message has no quotes.") |