aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-09 23:52:05 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-09 23:52:05 +0530
commit1991bb516f08659001c87a86c0695fd155c36dbb (patch)
treedf0c5323c9c7c80ea7734672f689a4aeb7476ebc
parentbc025ceb5aa434fe5c736298580ac29ba918778c (diff)
downloadnnn-1991bb516f08659001c87a86c0695fd155c36dbb.tar.gz
Update light/detail print mode when loading session
-rw-r--r--src/nnn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index ebcf6b1..90463a3 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2961,6 +2961,7 @@ static bool load_session(const char *sname, char **path, char **lastdir, char **
*path = g_ctx[cfg.curctx].c_path;
*lastdir = g_ctx[cfg.curctx].c_last;
*lastname = g_ctx[cfg.curctx].c_name;
+ printptr = cfg.showdetail ? &printent_long : &printent;
status = TRUE;
END: