This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix
#219
master
Arun Prakash Jana
5 years ago
parent
764c1fe60c
commit
3f262910d3
No known key found for this signature in database
GPG Key ID:
A75979F35C080412
1 changed files
with
7 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-4
src/nnn.c
+ 7
- 4
src/nnn.c
View File
@@ -976,11 +976,11 @@ static void spawn(const char *file, const char *arg1, const char *arg2, const ch
arg2 = tmp;
}
if (flag & F_NORMAL)
exitcurses();
pid = fork();
if (pid == 0) {
if (flag & F_NORMAL)
exitcurses();
if (dir != NULL)
status = chdir(dir);
@@ -1017,8 +1017,11 @@ static void spawn(const char *file, const char *arg1, const char *arg2, const ch
DPRINTF_D(status);
DPRINTF_D(pid);
if (flag & F_NORMAL)
if (flag & F_NORMAL) {
exitcurses();
initcurses();
refresh();
}
}
}
Write
Preview
Loading…
Cancel
Save