1
1
mirror of https://github.com/jarun/nnn.git synced 2024-09-22 02:18:04 +03:00

Highest priority to desktop search, rename

This commit is contained in:
Arun Prakash Jana 2018-01-07 03:27:09 +05:30
parent 2e7722976b
commit f7c5a2924d
No known key found for this signature in database
GPG Key ID: A75979F35C080412

5
nnn.c
View File

@ -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 */