diff options
author | Mischievous Meerkat <engineerarun@gmail.com> | 2019-07-16 08:43:17 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 08:43:17 +0530 |
commit | e3c99de23a1a5c8e06a01f46458d168dbd22dd2f (patch) | |
tree | 25070ebab8b884b89f1208bf4292e2a2c40f8095 | |
parent | fee2c339cc635b826cc83e79a4ecd7aec24e4244 (diff) | |
parent | 02fd4c4d8c927b574eadc3dee16ef8528e6c8297 (diff) | |
download | nnn-e3c99de23a1a5c8e06a01f46458d168dbd22dd2f.tar.gz |
Merge pull request #309 from 0xACE/readline-resize
stop readline from overwriting LINES
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4783,6 +4783,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__ |