nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7c802cce60b148207e5ffb2bfe80d7446b94297c
parent b3076e35d60e1b75fc3006efe0e9a32e76c1d9d4
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 14 Jun 2020 09:56:34 +0530

Show '+' in statusbar instead of 's' for selection

Diffstat:
Msrc/nnn.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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 */