Add a unified prompt method for requesting user input, fix appending when in silent mode