* tuiIO.c (tui_prep_terminal): Save the prompt registered in readline.