X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=ui.c;h=1af0ee339be5d1457c15a6b6f4ee92c681eec8fc;hb=79a77ff8c37fd55fcbe2983974ce82e6348f3926;hp=c11c26a18b23c4aa2238de23bd8cfc2f59ce6d1d;hpb=f0d50589db0f5b8942b15995e97374dd58e53cb8;p=pkg%2Fabook.git diff --git a/ui.c b/ui.c index c11c26a..1af0ee3 100644 --- a/ui.c +++ b/ui.c @@ -410,6 +410,9 @@ get_commands() can_resize = FALSE; /* it's not safe to resize anymore */ switch( ch ) { case 'q': return; + case 'Q': print_stderr(selected_items() ? + -1 : list_current_item()); + return; case '?': display_help(HELP_MAIN); refresh_screen();