From: Arun Prakash Jana Date: Sat, 16 Apr 2022 13:09:55 +0000 (+0530) Subject: Handle broken window if started in type-to-nav X-Git-Tag: v4.5~6 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=be4460c1dad99c7e39a39411fe4d652f3b7acc0f;p=nnn.git Handle broken window if started in type-to-nav --- diff --git a/src/nnn.c b/src/nnn.c index 3a95f1b4..6b87eeb2 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -6647,6 +6647,10 @@ static bool browse(char *ipath, const char *session, int pkey) if (!pnamebuf) errexit(); + /* The following call is added to handle a broken window at start */ + if (presel == FILTER) + handle_key_resize(); + begin: /* * Can fail when permissions change while browsing.