mirror of
https://github.com/jarun/nnn.git
synced 2025-01-24 17:56:41 +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) {
|
if (xlines != LINES || xcols != COLS) {
|
||||||
idle = 0;
|
idle = 0;
|
||||||
setdirwatch();
|
setdirwatch();
|
||||||
|
if (ndents)
|
||||||
|
copycurname();
|
||||||
goto begin;
|
goto begin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3946,6 +3948,8 @@ nochange:
|
||||||
if (idletimeout && idle == idletimeout) {
|
if (idletimeout && idle == idletimeout) {
|
||||||
idle = 0;
|
idle = 0;
|
||||||
spawn(utils[LOCKER], NULL, NULL, NULL, F_NORMAL);
|
spawn(utils[LOCKER], NULL, NULL, NULL, F_NORMAL);
|
||||||
|
if (ndents)
|
||||||
|
copycurname();
|
||||||
goto begin;
|
goto begin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue