mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Show '+' in statusbar instead of 's' for selection
This commit is contained in:
parent
b3076e35d6
commit
7c802cce60
|
@ -5110,7 +5110,7 @@ static void statusbar(char *path)
|
||||||
xstrsncpy(buf, coolsize(dir_blocks << blk_shift), 12);
|
xstrsncpy(buf, coolsize(dir_blocks << blk_shift), 12);
|
||||||
|
|
||||||
printw("%d/%d [%s:%s] %cu:%s free:%s files:%lu %lldB %s\n",
|
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) : "")),
|
(g_state.rangesel ? "*" : (nselected ? xitoa(nselected) : "")),
|
||||||
(cfg.apparentsz ? 'a' : 'd'), buf, coolsize(get_fs_info(path, FREE)),
|
(cfg.apparentsz ? 'a' : 'd'), buf, coolsize(get_fs_info(path, FREE)),
|
||||||
num_files, (ll)pent->blocks << blk_shift, ptr);
|
num_files, (ll)pent->blocks << blk_shift, ptr);
|
||||||
|
@ -5119,7 +5119,7 @@ static void statusbar(char *path)
|
||||||
|
|
||||||
getorderstr(sort);
|
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);
|
(g_state.rangesel ? "*" : (nselected ? xitoa(nselected) : "")), sort);
|
||||||
|
|
||||||
/* Timestamp */
|
/* Timestamp */
|
||||||
|
|
Loading…
Reference in a new issue