diff options
author | andmarti1424 <andmarti@gmail.com> | 2017-02-12 08:22:09 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2017-02-12 08:22:09 -0300 |
commit | 9795791d1ac05fad30a58e47ac9bebb24e65d6fe (patch) | |
tree | a83038441a862e458f30eab2564bb23eab65d270 | |
parent | daebb788eeba108ff290065622df4801b2aaad63 (diff) |
Added :q! to help file
-rw-r--r-- | src/help.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -181,7 +181,7 @@ void help() { wrefresh(input_win); d = wgetch(input_win); } - if (d == OKEY_ENTER && ( strcmp(hline, "q") == 0 || strcmp(hline, "quit") == 0 )) { + if (d == OKEY_ENTER && ( ! strcmp(hline, "q") || ! strcmp(hline, "quit") || ! strcmp(hline, "q!") )) { quit_help_now = TRUE; } else if (d == OKEY_ESC) { wmove(input_win, 0, rescol); |