monitor: Break out readline_show_prompt (Jan Kiszka)