aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-19 19:04:51 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-19 19:04:51 +0530
commitc5d122e299c30692b70e58daa2e6978a76d11a4d (patch)
tree67ba643d16994553935e2050ae42213a0a518feb /src
parent39fffbac5659dc863138ff80e5b821467c1269d6 (diff)
downloadnnn-c5d122e299c30692b70e58daa2e6978a76d11a4d.tar.gz
Fix broken abort msg when starting in du mode
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 7ce569e..a8e120b 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4862,6 +4862,9 @@ static bool browse(char *ipath, const char *session)
atexit(dentfree);
+ xlines = LINES;
+ xcols = COLS;
+
/* setup first context */
if (!session || !load_session(session, &path, &lastdir, &lastname, FALSE)) {
xstrlcpy(g_ctx[0].c_path, ipath, PATH_MAX); /* current directory */