mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
du status line change
This commit is contained in:
parent
7ec54342ae
commit
7335deb022
|
@ -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>
|
||||
|
|
|
@ -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…
Reference in a new issue