pub fn pause_for_enter() -> Result<()>
Wait for user confirmation before closing the process.
Returns an error when writing the prompt to stderr fails or when stdin cannot be read.