Allow selecting from prompt history

This allows you to scroll up to previous inputs for each prompt. It can come in handy if want to slightly modify previous input for new input e.g., slightly modifying your previous commit message for a new commit.