Browse Source

du status line change

master
Arun Prakash Jana 5 years ago
parent
commit
7335deb022
No known key found for this signature in database GPG Key ID: A75979F35C080412
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      README.md
  2. +3
    -3
      src/nnn.c

+ 1
- 1
README.md View File

@@ -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>


+ 3
- 3
src/nnn.c View File

@@ -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 */


Loading…
Cancel
Save