Function to return a line from the command prompt.