mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Show statusbar instead of blank
This commit is contained in:
parent
b91f7a9600
commit
f1791af2ab
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
It runs smoothly on the Raspberry Pi, Termux [on Android](https://www.youtube.com/watch?v=AbaauM7gUJw), Linux, macOS, BSD, Haiku, Cygwin, WSL and works seamlessly with DEs and GUI utilities.
|
It runs smoothly on the Raspberry Pi, Termux [on Android](https://www.youtube.com/watch?v=AbaauM7gUJw), Linux, macOS, BSD, Haiku, Cygwin, WSL and works seamlessly with DEs and GUI utilities.
|
||||||
|
|
||||||
[Wiki](https://github.com/jarun/nnn/wiki).
|
[**Wiki**](https://github.com/jarun/nnn/wiki).
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
|
10
src/nnn.c
10
src/nnn.c
|
@ -5239,7 +5239,7 @@ nochange:
|
||||||
case SEL_ARCHIVE:
|
case SEL_ARCHIVE:
|
||||||
r = get_cur_or_sel();
|
r = get_cur_or_sel();
|
||||||
if (!r) {
|
if (!r) {
|
||||||
clearprompt();
|
statusbar(path);
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5298,7 +5298,7 @@ nochange:
|
||||||
if (access(newpath, F_OK) == 0) {
|
if (access(newpath, F_OK) == 0) {
|
||||||
fd = get_input(messages[MSG_OVERWRITE]);
|
fd = get_input(messages[MSG_OVERWRITE]);
|
||||||
if (fd != 'y' && fd != 'Y') {
|
if (fd != 'y' && fd != 'Y') {
|
||||||
clearprompt();
|
statusbar(path);
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5314,7 +5314,7 @@ nochange:
|
||||||
r = (r == 'c' ? F_CLI :
|
r = (r == 'c' ? F_CLI :
|
||||||
(r == 'g' ? F_NOWAIT | F_NOTRACE | F_MULTI : 0));
|
(r == 'g' ? F_NOWAIT | F_NOTRACE | F_MULTI : 0));
|
||||||
if (!r) {
|
if (!r) {
|
||||||
cfg.filtermode ? presel = FILTER : clearprompt();
|
cfg.filtermode ? presel = FILTER : statusbar(path);
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
mkpath(path, dents[cur].name, newpath);
|
mkpath(path, dents[cur].name, newpath);
|
||||||
|
@ -5448,7 +5448,7 @@ nochange:
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!r) {
|
if (!r) {
|
||||||
cfg.filtermode ? presel = FILTER : clearprompt();
|
cfg.filtermode ? presel = FILTER : statusbar(path);
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5557,7 +5557,7 @@ nochange:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
clearprompt();
|
statusbar(path);
|
||||||
goto nochange;
|
goto nochange;
|
||||||
case SEL_QUITCTX: // fallthrough
|
case SEL_QUITCTX: // fallthrough
|
||||||
case SEL_QUITCD: // fallthrough
|
case SEL_QUITCD: // fallthrough
|
||||||
|
|
Loading…
Reference in a new issue