lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 28 February 2018 at 08:15, Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:
> And speaking of which, it's very annoying that lua.c isn't setting
> rl_readline_name, which would make it possible to conditionally disable
> completion (or make other configuration choices) in .inputrc or .editrc.

Good idea: setting rl_readline_name would be a simple + useful change to lua.c

To fix the original issue in this thread, the readline manual suggests
that programs should run:

rl_bind_key ('\t', rl_insert);

As part of initialisation. So that would be another good change to make in lua.c