Fix locker not invoked

This commit is contained in:
Arun Prakash Jana 2020-11-05 20:40:31 +05:30
parent 9f6808a35a
commit d8d43ca85f
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 3 additions and 2 deletions

View File

@ -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();