aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-16 02:03:16 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-16 02:03:16 +0530
commit99840a6fa3acef7cb6a2060272ebd049e5450bd8 (patch)
treebdac8e34e60a633f7f308002ebc39fbe74630999 /src
parent6bb667111863a9909591c182ae6e14815b838dee (diff)
downloadnnn-99840a6fa3acef7cb6a2060272ebd049e5450bd8.tar.gz
Show file size in status bar
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 8bf1192..a82e3b0 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3373,11 +3373,11 @@ static void redraw(char *path)
base = unescape(pent->name, NAME_MAX, NULL);
/* Timestamp */
- strftime(buf, 18, "%d/%b/%Y %R", localtime(&pent->t));
+ strftime(buf, 18, "%Y/%b/%d %R", localtime(&pent->t));
- mvprintw(lastln, 0, "%d/%d (%d) %s%s%s %s %s [%s]\n",
+ mvprintw(lastln, 0, "%d/%d (%d) %s%s%s %s %s %s [%s]\n",
cur + 1, ndents, nselected, selmode, sort, buf,
- get_lsperms(pent->mode), ptr, base);
+ get_lsperms(pent->mode), coolsize(pent->size), ptr, base);
}
} else
printmsg("0/0");