hanslub42 / rlwrap

A readline wrapper
GNU General Public License v2.0
2.53k stars 149 forks source link

rlwrap with $INPUTRC set appends empty line #144

Closed leahneukirchen closed 2 years ago

leahneukirchen commented 2 years ago

With no $INPUTRC it works:

% rlwrap echo foo 
foo
%

With $INPUTRC set to any value, it adds an empty line at the end:

% INPUTRC=/dev/null rlwrap echo foo 
foo

%

(same for a legit INPUTRC, but may be easier to debug this way.)

% rlwrap --version
rlwrap 0.45
vlnx commented 2 years ago

https://lists.gnu.org/archive/html/bug-readline/2021-05/msg00001.html Just tracked it down to there for now, been bugging me for awhile.

leahneukirchen commented 2 years ago

Good catch, I wanted to disable this anyway. %)

hanslub42 commented 2 years ago

Not rlwrap-specific. (see https://lists.gnu.org/archive/html/bug-readline/2022-01/msg00002.html) Closing.