]> Sergey Matveev's repositories - nnn.git/commitdiff
Show statusbar instead of blank
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 11 Jan 2020 18:39:09 +0000 (00:09 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 11 Jan 2020 18:39:09 +0000 (00:09 +0530)
README.md
src/nnn.c

index 8d5016ace7929f5da3d26722b2861c89ecd3f380..a99269663a90b28dfeaede87daf13bb38dfabcd5 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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.
 
-[Wiki](https://github.com/jarun/nnn/wiki).
+[**Wiki**](https://github.com/jarun/nnn/wiki).
 
 ## Features
 
index 0de89d47de82adff2a995c7e9c144f0754236e09..55754ca9228f331e13003407688563fc0dc5ff16 100644 (file)
--- 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