aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-30 22:23:54 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-30 22:23:54 +0530
commit025c7f0a48bf497d93dc0cc92796b980d8b759e4 (patch)
treef5b235c8179a77b96afb9a98f9278298be5ee81f /src
parent465bb92693de90d7b84b83402b012d34f86fc731 (diff)
downloadnnn-025c7f0a48bf497d93dc0cc92796b980d8b759e4.tar.gz
Remove selmode indicator
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 5302ac6..84c0d5f 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3355,12 +3355,8 @@ static void redraw(char *path)
if (ndents) {
char sort[] = "\0 ";
- char selmode[] = "\0 ";
pEntry pent = &dents[cur];
- if (cfg.selmode)
- selmode[0] = 'Y';
-
if (cfg.mtimeorder)
sort[0] = cfg.mtime ? 'T' : 'A';
else if (cfg.sizeorder)
@@ -3383,8 +3379,8 @@ 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 free:%s files:%lu %s",
- cur + 1, ndents, nselected, selmode, c, buf,
+ mvprintw(lastln, 0, "%d/%d (%d) %cu:%s free:%s files:%lu %s",
+ cur + 1, ndents, nselected, 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 */
@@ -3394,8 +3390,8 @@ static void redraw(char *path)
/* Timestamp */
strftime(buf, 18, "%Y-%b-%d %R", localtime(&pent->t));
- mvprintw(lastln, 0, "%d/%d (%d) %s%s%s %s %s %s [%s]",
- cur + 1, ndents, nselected, selmode, sort, buf,
+ mvprintw(lastln, 0, "%d/%d (%d) %s%s %s %s %s [%s]",
+ cur + 1, ndents, nselected, sort, buf,
get_lsperms(pent->mode), coolsize(pent->size), ptr, base);
}
} else