Gave Prompt the abstract getNextPrompt() method.

This method should be called if blocksForInput() returns false.