diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-11-05 20:40:31 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-11-05 20:40:31 +0530 |
commit | d8d43ca85f0fe31b19445db642f3456111ac9c55 (patch) | |
tree | 962286be3739d95656dae5393d0415c07fd6a5d1 | |
parent | 9f6808a35a91a0919c59432c6127394b737e1b9c (diff) | |
download | nnn-d8d43ca85f0fe31b19445db642f3456111ac9c55.tar.gz |
Fix locker not invoked
-rw-r--r-- | src/nnn.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7077,10 +7077,11 @@ nochange: if (xlines != LINES || xcols != COLS) continue; - if (idletimeout && idle == idletimeout) + if (idletimeout && idle == idletimeout) { lock_terminal(); /* Locker */ + idle = 0; + } - idle = 0; if (ndents) copycurname(); |