aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/nnn.c b/src/nnn.c
index de172e2..3fe3bad 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -6491,20 +6491,16 @@ nochange:
cfg.picker ? selbufpos = 0 : write_lastdir(path);
return sel == SEL_QUITFAIL ? EXIT_FAILURE : EXIT_SUCCESS;
default:
- r = FALSE;
- if (xlines != LINES || xcols != COLS) {
- setdirwatch(); /* Terminal resized */
- r = TRUE;
- } else if (idletimeout && idle == idletimeout)
+ if (xlines != LINES || xcols != COLS)
+ continue;
+
+ if (idletimeout && idle == idletimeout)
lock_terminal(); /* Locker */
idle = 0;
if (ndents)
copycurname();
- if (r)
- continue;
-
goto nochange;
} /* switch (sel) */
}