Browse Source

Copy last file name before refresh

master
Arun Prakash Jana 5 years ago
parent
commit
1238130e78
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/nnn.c

+ 4
- 0
src/nnn.c 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;
}



Loading…
Cancel
Save