From: Arun Prakash Jana Date: Thu, 5 Nov 2020 15:10:31 +0000 (+0530) Subject: Fix locker not invoked X-Git-Tag: v3.5~16 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d8d43ca85f0fe31b19445db642f3456111ac9c55;p=nnn.git Fix locker not invoked --- diff --git a/src/nnn.c b/src/nnn.c index f0efa2dc..b713a472 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -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();