aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-06-14 09:56:34 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-06-14 09:56:34 +0530
commit7c802cce60b148207e5ffb2bfe80d7446b94297c (patch)
treefb4f0b857fd92d61311216cb16221b0b32fa4a58 /src
parentb3076e35d60e1b75fc3006efe0e9a32e76c1d9d4 (diff)
downloadnnn-7c802cce60b148207e5ffb2bfe80d7446b94297c.tar.gz
Show '+' in statusbar instead of 's' for selection
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 3d07cb1..af05ca9 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -5110,7 +5110,7 @@ static void statusbar(char *path)
xstrsncpy(buf, coolsize(dir_blocks << blk_shift), 12);
printw("%d/%d [%s:%s] %cu:%s free:%s files:%lu %lldB %s\n",
- cur + 1, ndents, (g_state.selmode ? "s" : ""),
+ cur + 1, ndents, (g_state.selmode ? "+" : ""),
(g_state.rangesel ? "*" : (nselected ? xitoa(nselected) : "")),
(cfg.apparentsz ? 'a' : 'd'), buf, coolsize(get_fs_info(path, FREE)),
num_files, (ll)pent->blocks << blk_shift, ptr);
@@ -5119,7 +5119,7 @@ static void statusbar(char *path)
getorderstr(sort);
- printw("%d/%d [%s:%s] %s", cur + 1, ndents, (g_state.selmode ? "s" : ""),
+ printw("%d/%d [%s:%s] %s", cur + 1, ndents, (g_state.selmode ? "+" : ""),
(g_state.rangesel ? "*" : (nselected ? xitoa(nselected) : "")), sort);
/* Timestamp */