1
0
Fork 0
mirror of https://github.com/jarun/nnn.git synced 2025-01-25 18:26:59 +00:00

Handle broken window if started in type-to-nav

This commit is contained in:
Arun Prakash Jana 2022-04-16 18:39:55 +05:30
parent eb42f7a948
commit be4460c1da
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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.