du status line change

This commit is contained in:
Arun Prakash Jana 2019-09-20 08:35:37 +05:30
parent 7ec54342ae
commit 7335deb022
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 4 additions and 4 deletions

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>

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