Home and End keys not working in terminal