Allow to search through history using up/down arrows