Re: Pressing the tab key twice strangeness.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Pressing the tab key twice strangeness.
- From: Daurnimator <quae@...>
- Date: 2018年2月28日 10:44:04 +1100
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