aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-12 00:09:09 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-12 00:09:09 +0530
commitf1791af2ab07fbf2aac940d8ca71b2f0e78a0090 (patch)
tree51a718c74154590dcb33878b40df0a57ed82a4b5 /src
parentb91f7a9600f474c80644e8305c0e1f037cd7db96 (diff)
downloadnnn-f1791af2ab07fbf2aac940d8ca71b2f0e78a0090.tar.gz
Show statusbar instead of blank
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 0de89d4..55754ca 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -5239,7 +5239,7 @@ nochange:
case SEL_ARCHIVE:
r = get_cur_or_sel();
if (!r) {
- clearprompt();
+ statusbar(path);
goto nochange;
}
@@ -5298,7 +5298,7 @@ nochange:
if (access(newpath, F_OK) == 0) {
fd = get_input(messages[MSG_OVERWRITE]);
if (fd != 'y' && fd != 'Y') {
- clearprompt();
+ statusbar(path);
goto nochange;
}
}
@@ -5314,7 +5314,7 @@ nochange:
r = (r == 'c' ? F_CLI :
(r == 'g' ? F_NOWAIT | F_NOTRACE | F_MULTI : 0));
if (!r) {
- cfg.filtermode ? presel = FILTER : clearprompt();
+ cfg.filtermode ? presel = FILTER : statusbar(path);
goto nochange;
}
mkpath(path, dents[cur].name, newpath);
@@ -5448,7 +5448,7 @@ nochange:
}
if (!r) {
- cfg.filtermode ? presel = FILTER : clearprompt();
+ cfg.filtermode ? presel = FILTER : statusbar(path);
goto nochange;
}
@@ -5557,7 +5557,7 @@ nochange:
}
}
- clearprompt();
+ statusbar(path);
goto nochange;
case SEL_QUITCTX: // fallthrough
case SEL_QUITCD: // fallthrough