added line editing + HOME/END