record last segment for line continuation