This allows you to search through your history using the up and down arrows