Ad: get last typed word