aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index c9a12d9..ec68137 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4819,6 +4819,10 @@ int main(int argc, char *argv[])
setlocale(LC_ALL, "");
#ifndef NORL
+#if RL_READLINE_VERSION >= 0x0603
+ /* readline would overwrite the WINCH signal hook */
+ rl_change_environment = 0;
+#endif
/* Bind TAB to cycling */
rl_variable_bind("completion-ignore-case", "on");
#ifdef __linux__