summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandmarti1424 <andmarti@gmail.com>2017-02-12 08:22:09 -0300
committerandmarti1424 <andmarti@gmail.com>2017-02-12 08:22:09 -0300
commit9795791d1ac05fad30a58e47ac9bebb24e65d6fe (patch)
treea83038441a862e458f30eab2564bb23eab65d270
parentdaebb788eeba108ff290065622df4801b2aaad63 (diff)
Added :q! to help file
-rw-r--r--src/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/help.c b/src/help.c
index 9a5ac3a..0d736f6 100644
--- a/src/help.c
+++ b/src/help.c
@@ -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);