Cf #146: if rlwrap doesn't need to do any completion (i.e. without any of the --complete-filenames, --file or --remember options) we might as well bind TAB to self-insert at startup.
Possible problem: when people use rlwrap -always-readline with commands that already have their own TAB completion, the TAB will mess up the input when handed down to the command.
Possible solution: keep the current behaviour when called with --always-readline.
Cf #146: if
rlwrap
doesn't need to do any completion (i.e. without any of the--complete-filenames
,--file
or--remember
options) we might as well bindTAB
toself-insert
at startup.This will make
rlwrap
more POLA-compliantPossible problem: when people use
rlwrap -always-readline
with commands that already have their ownTAB
completion, theTAB
will mess up the input when handed down to the command.Possible solution: keep the current behaviour when called with
--always-readline
.