ADDS history search with arrow keys