From c5d122e299c30692b70e58daa2e6978a76d11a4d Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 19 Feb 2020 19:04:51 +0530 Subject: Fix broken abort msg when starting in du mode --- src/nnn.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 */ -- cgit v1.2.3-70-g09d2