From: 0xACE <0xaced@gmail.com> Date: Tue, 16 Jul 2019 02:25:01 +0000 (+0200) Subject: stop readline from overwriting LINES X-Git-Tag: v2.6~31^2~2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=3f33f0afb9f61365268462e99466ded1180d9bd9;p=nnn.git 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. --- diff --git a/src/nnn.c b/src/nnn.c index f37551f1..e3e3b35c 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -4783,6 +4783,7 @@ int main(int argc, char *argv[]) setlocale(LC_ALL, ""); #ifndef NORL + rl_change_environment = 0; /* Bind TAB to cycling */ rl_variable_bind("completion-ignore-case", "on"); #ifdef __linux__