aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar 0xACE <0xaced@gmail.com>2019-07-16 05:09:11 +0200
committerGravatar 0xACE <0xaced@gmail.com>2019-07-16 05:09:11 +0200
commit02fd4c4d8c927b574eadc3dee16ef8528e6c8297 (patch)
tree25070ebab8b884b89f1208bf4292e2a2c40f8095 /src/nnn.c
parentef32cf7177e6956930edf0a185e83d4de1e34702 (diff)
downloadnnn-02fd4c4d8c927b574eadc3dee16ef8528e6c8297.tar.gz
documentation on rl_change_environment
Basically that line lets nnn retain the WINCH signal for itself.
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 9cd0910..ecb9472 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4784,6 +4784,7 @@ int main(int argc, char *argv[])
#ifndef NORL
#if RL_READLINE_VERSION >= 0x0603
+ /* readline would overwrite the WINCH signal hook */
rl_change_environment = 0;
#endif
/* Bind TAB to cycling */