]> Sergey Matveev's repositories - nnn.git/commitdiff
Handle broken window if started in type-to-nav
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 16 Apr 2022 13:09:55 +0000 (18:39 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 16 Apr 2022 13:18:52 +0000 (18:48 +0530)
src/nnn.c

index 3a95f1b4598968e218aa28e4440647d7b9383848..6b87eeb2226f0df4af0ad186cd8f580a56004db1 100644 (file)
--- 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.