diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-10-15 08:06:34 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-10-15 08:07:32 +0530 |
commit | c0745727481af78f93512821aaca8484b273faa2 (patch) | |
tree | 49e629a551bd85b68fd1bab6c7ebc673f82a805b /src | |
parent | ed53c54ba2788b17d9c02a398a1b34ab1f4dd1a5 (diff) | |
download | nnn-c0745727481af78f93512821aaca8484b273faa2.tar.gz |
Fix #759
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7854,6 +7854,10 @@ int main(int argc, char *argv[]) if (sort) set_sort_flags(sort); + /* Set the process group to current process */ + setpgid(0, 0); + tcsetpgrp(STDOUT_FILENO, getpid()); + opt = browse(initpath, session, pkey); #ifndef NOMOUSE |