Added cmdline_prompt_input event. Corrected an error in the compiler with smart strings.