fix rl_display_prompt related conditional