From d8d43ca85f0fe31b19445db642f3456111ac9c55 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 5 Nov 2020 20:40:31 +0530 Subject: Fix locker not invoked --- src/nnn.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index f0efa2d..b713a47 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(); -- cgit v1.2.3-70-g09d2