mirror of
https://github.com/jarun/nnn.git
synced 2025-01-24 09:46:38 +00:00
Copy last file name before refresh
This commit is contained in:
parent
dc6c6b8ca5
commit
1238130e78
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue