End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Readline.pre_input_hook
Readline.pre_input_hook → proc
ext/readline/readline.c
View on GitHub ↗
static VALUE
readline_s_get_pre_input_hook(VALUE self)
{
return rb_attr_get(mReadline, id_pre_input_hook);
}
Returns a Proc object proc to call after the first prompt has been printed and just before readline starts reading input characters. The default is nil.
Raises NotImplementedError if the using readline library does not support.