Merge pull request #309 from 0xACE/readline-resize

stop readline from overwriting LINES
This commit is contained in:
Mischievous Meerkat 2019-07-16 08:43:17 +05:30 committed by GitHub
commit e3c99de23a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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__