On Wed, Dec 14, 2022 at 02:30:04PM -0500, Chet Ramey wrote: > Try this. > > *** ../bash-20221202/lib/readline/readline.c 2022-12-06 09:48:50.000000000 > -0500 > --- lib/readline/readline.c 2022-12-14 14:20:32.000000000 -0500 > *************** > *** 591,595 **** > (*rl_redisplay_function) (); > _rl_want_redisplay = 0; > ! memcpy ((void *)_rl_top_level, (void *)olevel, sizeof (procenv_t)); > > /* If we longjmped because of a timeout, handle it here. */ > --- 591,596 ---- > (*rl_redisplay_function) (); > _rl_want_redisplay = 0; > ! if (RL_ISSTATE (RL_STATE_CALLBACK)) > ! memcpy ((void *)_rl_top_level, (void *)olevel, sizeof (procenv_t)); > > /* If we longjmped because of a timeout, handle it here. */
Thank you. That seems to fix the issue. emanuele6