projects
/
nnn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc6c6b8
)
Copy last file name before refresh
author
Arun Prakash Jana <engineerarun@gmail.com>
Mon, 1 Apr 2019 03:20:54 +0000 (08:50 +0530)
committer
Arun Prakash Jana <engineerarun@gmail.com>
Mon, 1 Apr 2019 03:20:54 +0000 (08:50 +0530)
src/nnn.c
patch
|
blob
|
history
diff --git
a/src/nnn.c
b/src/nnn.c
index 23eb6800067e080aaa7fba1c60773a7be3a13efa..0279fe9d40b72ee428767090b0de86c07410a554 100644
(file)
--- a/
src/nnn.c
+++ b/
src/nnn.c
@@
-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;
}