Move cursor to the end of line when getting previous commands