aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-17 20:38:20 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-17 20:38:20 +0530
commit63f5abd0543b8ac3ce224f4d82593fb4f227dc30 (patch)
treee1e59bf3d92087d13e982c6ffd3fc595ff952062 /src
parent339fcd83f03a4ffd4a598c9ec472463432b6334c (diff)
downloadnnn-63f5abd0543b8ac3ce224f4d82593fb4f227dc30.tar.gz
CURSYM is redundant in detail mode
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/nnn.c b/src/nnn.c
index dec8eac..a5d59f0 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1723,27 +1723,27 @@ static void printent_long(struct entry *ent, int sel, uint namecols)
if (S_ISDIR(ent->mode)) {
if (cfg.blkorder)
- printw("%s%-16.16s %8.8s/ %s/\n", CURSYM(sel), buf, coolsize(ent->blocks << BLK_SHIFT), pname);
+ printw(" %-16.16s %8.8s/ %s/\n", buf, coolsize(ent->blocks << BLK_SHIFT), pname);
else
- printw("%s%-16.16s / %s/\n", CURSYM(sel), buf, pname);
+ printw(" %-16.16s / %s/\n", buf, pname);
} else if (S_ISLNK(ent->mode)) {
if (ent->flags & SYMLINK_TO_DIR)
- printw("%s%-16.16s @/ %s@\n", CURSYM(sel), buf, pname);
+ printw(" %-16.16s @/ %s@\n", buf, pname);
else
- printw("%s%-16.16s @ %s@\n", CURSYM(sel), buf, pname);
+ printw(" %-16.16s @ %s@\n", buf, pname);
} else if (S_ISSOCK(ent->mode))
- printw("%s%-16.16s = %s=\n", CURSYM(sel), buf, pname);
+ printw(" %-16.16s = %s=\n", buf, pname);
else if (S_ISFIFO(ent->mode))
- printw("%s%-16.16s | %s|\n", CURSYM(sel), buf, pname);
+ printw(" %-16.16s | %s|\n", buf, pname);
else if (S_ISBLK(ent->mode))
- printw("%s%-16.16s b %s\n", CURSYM(sel), buf, pname);
+ printw(" %-16.16s b %s\n", buf, pname);
else if (S_ISCHR(ent->mode))
- printw("%s%-16.16s c %s\n", CURSYM(sel), buf, pname);
+ printw(" %-16.16s c %s\n", buf, pname);
else if (ent->mode & 0100) {
- printw("%s%-16.16s %8.8s* %s*\n", CURSYM(sel), buf,
+ printw(" %-16.16s %8.8s* %s*\n", buf,
coolsize(cfg.blkorder ? ent->blocks << BLK_SHIFT : ent->size), pname);
} else {
- printw("%s%-16.16s %8.8s %s\n", CURSYM(sel), buf,
+ printw(" %-16.16s %8.8s %s\n", buf,
coolsize(cfg.blkorder ? ent->blocks << BLK_SHIFT : ent->size), pname);
}