Add command histroy access with arrow up and arrow down