From c5d122e299c30692b70e58daa2e6978a76d11a4d Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 19 Feb 2020 19:04:51 +0530 Subject: [PATCH] Fix broken abort msg when starting in du mode --- src/nnn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nnn.c b/src/nnn.c index 7ce569e6..a8e120b5 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 */