aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-07 18:24:07 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-22 08:44:19 +0530
commitece7654221f3e26f6574f83b2df9e8c4f6d18c63 (patch)
tree2708e84407a05f71e52eaa8b4ffdf1963c13b599 /src/nnn.c
parent747490a180b83fcabcbd98f3c31b3ed5d791a236 (diff)
downloadnnn-ece7654221f3e26f6574f83b2df9e8c4f6d18c63.tar.gz
Use refresh after tmp escape
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 1042b76..8d14114 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1023,10 +1023,8 @@ static int spawn(char *file, char *arg1, char *arg2, const char *dir, uchar flag
retstatus = join(pid, flag);
DPRINTF_D(pid);
- if (flag & F_NORMAL) {
- nonl();
- noecho();
- }
+ if (flag & F_NORMAL)
+ refresh();
free(cmd);
}