fn prompt( state: &Cheatcodes, prompt_text: &str, input: fn(&str) -> Result<String, Error>, ) -> Result<String>