]> Sergey Matveev's repositories - nnn.git/commitdiff
du status line change
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 20 Sep 2019 03:05:37 +0000 (08:35 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 20 Sep 2019 03:05:37 +0000 (08:35 +0530)
README.md
src/nnn.c

index f3a1089647dad07c50fd7a83366dfc16950173cd..5bdb405a529e8b109379969c0bf4581799bc9ba9 100644 (file)
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@
 </p>
 
 <p align="center">
-<a href="https://www.youtube.com/watch?v=U2n5aGqou9E"><img src="https://i.imgur.com/2B8KQCJ.png" /></a>
+<a href="https://www.youtube.com/watch?v=U2n5aGqou9E"><img src="https://i.imgur.com/MPWpmos.png" /></a>
 </p>
 
 <p align="center"><i>navigate-as-you-type & du analyzer mode (click for a demo video)</i></a></p>
index 1cdee723c8ec62cccc45bf342fb483ebaa2d83af..1511d46708325b904c5811689d3b753fe6ed54aa 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3362,9 +3362,9 @@ static void redraw(char *path)
                        xstrlcpy(buf, coolsize(dir_blocks << BLK_SHIFT), 12);
                        c = cfg.apparentsz ? 'a' : 'd';
 
-                       mvprintw(lastln, 0, "%d/%d (%d) %s%cu:%s (%lu files) free:%s %s",
-                                cur + 1, ndents, nselected, selmode, c, buf, num_files,
-                                coolsize(get_fs_info(path, FREE)), ptr);
+                       mvprintw(lastln, 0, "%d/%d (%d) %s%cu:%s free:%s files:%lu %s",
+                                cur + 1, ndents, nselected, selmode, c, buf,
+                                coolsize(get_fs_info(path, FREE)), num_files, ptr);
                } else { /* light or detail mode */
                        /* Show filename as it may be truncated in directory listing */
                        /* Get the unescaped file name */