X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=ui.c;h=c706963f86e550e26adaf18edcecb7e08257742c;hb=733d10d283b596a5adac07f42f15c73431b85a41;hp=d490fc3b61c56019a41c398a9ed2710095f7ff74;hpb=ea5b79b21b3e6b5d009dca4afcab7f3ed9cabdd5;p=pkg%2Fabook.git diff --git a/ui.c b/ui.c index d490fc3..c706963 100644 --- a/ui.c +++ b/ui.c @@ -465,7 +465,8 @@ get_commands() case 'Z': move_curitem(MOVE_ITEM_DOWN); break; - case 'm': launch_mutt(list_current_item()); + case 'm': launch_mutt(selected_items() ? + -1 : list_current_item()); refresh_screen(); break;