(cursor_row_p): Only end row on newline if it's a display string.