Add support for *1,*2,*3; navigation history with up-and-down arrow keys