Copy last file name before refresh

This commit is contained in:
Arun Prakash Jana 2019-04-01 08:50:54 +05:30
parent dc6c6b8ca5
commit 1238130e78
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 4 additions and 0 deletions

View File

@ -3939,6 +3939,8 @@ nochange:
if (xlines != LINES || xcols != COLS) {
idle = 0;
setdirwatch();
if (ndents)
copycurname();
goto begin;
}
@ -3946,6 +3948,8 @@ nochange:
if (idletimeout && idle == idletimeout) {
idle = 0;
spawn(utils[LOCKER], NULL, NULL, NULL, F_NORMAL);
if (ndents)
copycurname();
goto begin;
}