diff --git a/nnn.c b/nnn.c index 59f7e5ca..f1422e33 100644 --- a/nnn.c +++ b/nnn.c @@ -983,12 +983,12 @@ filterentries(char *path) if (len == 1) cur = oldcur; // fallthrough case CONTROL('K'): // fallthrough + case CONTROL('_'): // fallthrough + case CONTROL('R'): // fallthrough case CONTROL('O'): // fallthrough case CONTROL('B'): // fallthrough case CONTROL('V'): // fallthrough - case CONTROL('R'): // fallthrough case CONTROL('X'): // fallthrough - case CONTROL('_'): // fallthrough case CONTROL('Q'): goto end; default: @@ -1512,6 +1512,7 @@ get_output(char *buf, size_t bytes, char *file, char *arg1, char *arg2, int page return ret; } + pid = fork(); if (pid == 0) { /* Show in pager in child */