Browse Source

Fix locker not invoked

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

+ 3
- 2
src/nnn.c View File

@@ -7077,10 +7077,11 @@ nochange:
if (xlines != LINES || xcols != COLS) if (xlines != LINES || xcols != COLS)
continue; continue;


if (idletimeout && idle == idletimeout)
if (idletimeout && idle == idletimeout) {
lock_terminal(); /* Locker */ lock_terminal(); /* Locker */
idle = 0;
}


idle = 0;
if (ndents) if (ndents)
copycurname(); copycurname();




Loading…
Cancel
Save