Set or remove the function invoked by the rl_pre_input_hook callback. The function is called with no arguments after the first prompt has been printed and just before readline starts reading input characters.
readline/set_pre_input_hook
set_pre_input_hook