From: Jim Warner Date: Mon, 22 Oct 2012 02:21:21 +0000 (-0500) Subject: top: allow exit from 2nd level help via key X-Git-Tag: v3.3.4~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0163abb48b28f9fca20ce30b83efa0abddecbc0f;p=procps-ng top: allow exit from 2nd level help via key Signed-off-by: Jim Warner --- diff --git a/top/top.c b/top/top.c index 327db6cf..debe6cdd 100644 --- a/top/top.c +++ b/top/top.c @@ -3079,7 +3079,7 @@ static void help_view (void) { , Winstk[2].rc.winname, Winstk[3].rc.winname)); if (1 > chin(0, &ch, 1)) break; w = win_select(ch); - } while (kbd_ENTER != ch); + } while (kbd_ENTER != ch && kbd_ESC != ch); } putp(Cap_curs_norm);