mirror of
https://github.com/jarun/nnn.git
synced 2024-11-17 08:32:36 +00:00
Suffix the current context with * in help
This commit is contained in:
parent
f762b3dc0c
commit
ab375de725
|
@ -5301,7 +5301,7 @@ static void show_help(const char *path)
|
|||
fprintf(f, "\nCONTEXTS\n");
|
||||
for (uchar_t i = 0; i < CTX_MAX; ++i)
|
||||
if (g_ctx[i].c_cfg.ctxactive)
|
||||
fprintf(f, " %u: %s\n", i + 1, g_ctx[i].c_path);
|
||||
fprintf(f, " %u%c %s\n", i + 1, (cfg.curctx == i) ? '*' : ' ', g_ctx[i].c_path);
|
||||
|
||||
fprintf(f, "\nVOLUME: avail:%s ", coolsize(get_fs_info(path, VFS_AVAIL)));
|
||||
fprintf(f, "used:%s ", coolsize(get_fs_info(path, VFS_USED)));
|
||||
|
|
Loading…
Reference in a new issue