X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/794dab6aa5027ffaf024506140c258f6a0a9322d..c1db884b287ee5c7dbca66be973c88aba40b9bc9:/uip/mhshowsbr.c diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index e76dbaac..ef6f02c1 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -509,10 +509,11 @@ show_content_aux2 (CT ct, int serial, int alternate, char *cracked, char *buffer read (fileno (stdout), prompt, sizeof(prompt)); } SIGNAL (SIGINT, istat); - if (intr != OK) { + if (intr != OK || prompt[0] == 'n') { (*ct->c_ceclosefnx) (ct); return (alternate ? DONE : NOTOK); } + if (prompt[0] == 'q') done(OK); } }