fixes erase word, literal, display_prompt