Try to fix up/down history search key bind for Mac