mirror of
https://github.com/jarun/nnn.git
synced 2024-11-20 01:49:14 +00:00
stop readline from overwriting LINES
The problem was that readline would completely block LINES from updating after prompting the user. I'm not entirely sure why this happened, but at least this patch fixes the problem.
This commit is contained in:
parent
fee2c339cc
commit
3f33f0afb9
|
@ -4783,6 +4783,7 @@ int main(int argc, char *argv[])
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
|
|
||||||
#ifndef NORL
|
#ifndef NORL
|
||||||
|
rl_change_environment = 0;
|
||||||
/* 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