From be4460c1dad99c7e39a39411fe4d652f3b7acc0f Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 16 Apr 2022 18:39:55 +0530 Subject: [PATCH] Handle broken window if started in type-to-nav --- src/nnn.c | 4 ++++ 1 file changed, 4 insertions(+) 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.