Still working on prompt handling, but it deletes the prompt and input after sending now.