now prompt_add_history adopt entry argument