mirror of
https://github.com/jarun/nnn.git
synced 2024-11-19 01:19:14 +00:00
Merge pull request #309 from 0xACE/readline-resize
stop readline from overwriting LINES
This commit is contained in:
commit
e3c99de23a
|
@ -4783,6 +4783,10 @@ int main(int argc, char *argv[])
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
|
|
||||||
#ifndef NORL
|
#ifndef NORL
|
||||||
|
#if RL_READLINE_VERSION >= 0x0603
|
||||||
|
/* readline would overwrite the WINCH signal hook */
|
||||||
|
rl_change_environment = 0;
|
||||||
|
#endif
|
||||||
/* Bind TAB to cycling */
|
/* Bind TAB to cycling */
|
||||||
rl_variable_bind("completion-ignore-case", "on");
|
rl_variable_bind("completion-ignore-case", "on");
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
|
Loading…
Reference in a new issue