top: allow exit from 2nd level help via <Esc> key

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2012-10-21 21:21:21 -05:00 committed by Craig Small
parent 7933435584
commit 0163abb48b

View File

@ -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);