mirror of
https://github.com/jarun/nnn.git
synced 2025-03-01 20:39:20 +00:00
du status line change
This commit is contained in:
parent
7ec54342ae
commit
7335deb022
2 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<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>
|
||||||
|
|
||||||
<p align="center"><i>navigate-as-you-type & du analyzer mode (click for a demo video)</i></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);
|
xstrlcpy(buf, coolsize(dir_blocks << BLK_SHIFT), 12);
|
||||||
c = cfg.apparentsz ? 'a' : 'd';
|
c = cfg.apparentsz ? 'a' : 'd';
|
||||||
|
|
||||||
mvprintw(lastln, 0, "%d/%d (%d) %s%cu:%s (%lu files) free:%s %s",
|
mvprintw(lastln, 0, "%d/%d (%d) %s%cu:%s free:%s files:%lu %s",
|
||||||
cur + 1, ndents, nselected, selmode, c, buf, num_files,
|
cur + 1, ndents, nselected, selmode, c, buf,
|
||||||
coolsize(get_fs_info(path, FREE)), ptr);
|
coolsize(get_fs_info(path, FREE)), num_files, ptr);
|
||||||
} else { /* light or detail mode */
|
} else { /* light or detail mode */
|
||||||
/* Show filename as it may be truncated in directory listing */
|
/* Show filename as it may be truncated in directory listing */
|
||||||
/* Get the unescaped file name */
|
/* Get the unescaped file name */
|
||||||
|
|
Loading…
Add table
Reference in a new issue