From 0163abb48b28f9fca20ce30b83efa0abddecbc0f Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Sun, 21 Oct 2012 21:21:21 -0500 Subject: [PATCH] top: allow exit from 2nd level help via key Signed-off-by: Jim Warner --- top/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);