diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-06-14 09:56:34 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-06-14 09:56:34 +0530 |
commit | 7c802cce60b148207e5ffb2bfe80d7446b94297c (patch) | |
tree | fb4f0b857fd92d61311216cb16221b0b32fa4a58 /src | |
parent | b3076e35d60e1b75fc3006efe0e9a32e76c1d9d4 (diff) | |
download | nnn-7c802cce60b148207e5ffb2bfe80d7446b94297c.tar.gz |
Show '+' in statusbar instead of 's' for selection
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |