mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Update light/detail print mode when loading session
This commit is contained in:
parent
bc025ceb5a
commit
1991bb516f
|
@ -2961,6 +2961,7 @@ static bool load_session(const char *sname, char **path, char **lastdir, char **
|
||||||
*path = g_ctx[cfg.curctx].c_path;
|
*path = g_ctx[cfg.curctx].c_path;
|
||||||
*lastdir = g_ctx[cfg.curctx].c_last;
|
*lastdir = g_ctx[cfg.curctx].c_last;
|
||||||
*lastname = g_ctx[cfg.curctx].c_name;
|
*lastname = g_ctx[cfg.curctx].c_name;
|
||||||
|
printptr = cfg.showdetail ? &printent_long : &printent;
|
||||||
status = TRUE;
|
status = TRUE;
|
||||||
|
|
||||||
END:
|
END:
|
||||||
|
|
Loading…
Reference in a new issue