mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Mark apparent size or disk usage label in footer as bold
Depending on what is being displayed. Not *super* happy with this solution, but it works. Fixes #110.
This commit is contained in:
parent
ebeee7be01
commit
67a1d84216
1 changed files with 4 additions and 0 deletions
|
|
@ -288,9 +288,13 @@ void browse_draw() {
|
|||
uic_set(UIC_HD);
|
||||
mvhline(winrows-1, 0, ' ', wincols);
|
||||
if(t) {
|
||||
if(!show_as) attron(A_BOLD);
|
||||
mvaddstr(winrows-1, 0, " Total disk usage: ");
|
||||
if(!show_as) attroff(A_BOLD);
|
||||
printsize(UIC_HD, t->parent->size);
|
||||
if(show_as) attron(A_BOLD);
|
||||
addstrc(UIC_HD, " Apparent size: ");
|
||||
if(show_as) attroff(A_BOLD);
|
||||
uic_set(UIC_NUM_HD);
|
||||
printsize(UIC_HD, t->parent->asize);
|
||||
addstrc(UIC_HD, " Items: ");
|
||||
|
|
|
|||
Loading…
Reference in a new issue