fix home/end keys in terminal