Lines Matching refs:_rl_last_c_pos

139 int _rl_last_c_pos = 0;
914 o_cpos = _rl_last_c_pos;
933 _rl_last_c_pos != o_cpos &&
934 _rl_last_c_pos > wrap_offset &&
936 _rl_last_c_pos -= wrap_offset;
945 inv_botlin == 0 && _rl_last_c_pos == out &&
947 (_rl_last_c_pos < visible_first_line_len))
950 nleft = _rl_screenwidth - _rl_last_c_pos;
952 nleft = _rl_screenwidth + wrap_offset - _rl_last_c_pos;
989 _rl_last_c_pos += wrap_offset;
998 if (cursor_linenum == 0 && wrap_offset > 0 && _rl_last_c_pos > 0 &&
1000 _rl_last_c_pos <= PROMPT_ENDING_INDEX && local_prompt)
1002 _rl_last_c_pos < PROMPT_ENDING_INDEX && local_prompt)
1013 _rl_last_c_pos = _rl_col_width (local_prompt, 0, nleft) - wrap_offset;
1015 _rl_last_c_pos = nleft;
1033 if (wrap_offset && cursor_linenum == 0 && nleft < _rl_last_c_pos)
1040 if (_rl_last_c_pos > tx)
1042 _rl_backspace (_rl_last_c_pos - tx); /* XXX */
1043 _rl_last_c_pos = tx;
1053 else if (nleft != _rl_last_c_pos)
1131 t = _rl_last_c_pos - M_OFFSET (lmargin, wrap_offset);
1133 (_rl_last_c_pos == out) &&
1210 temp = _rl_last_c_pos;
1212 temp = _rl_last_c_pos - W_OFFSET(_rl_last_v_pos, visible_wrap_offset);
1248 _rl_last_c_pos = tempwidth;
1264 _rl_last_c_pos = 1;
1277 _rl_last_c_pos = 1;
1419 _rl_last_c_pos += visible_wrap_offset;
1437 _rl_term_cr && lendiff > prompt_visible_length && _rl_last_c_pos > 0 &&
1438 od >= lendiff && _rl_last_c_pos < PROMPT_ENDING_INDEX)
1450 _rl_last_c_pos = _rl_col_width (local_prompt, 0, lendiff) - wrap_offset;
1454 _rl_last_c_pos = lendiff;
1466 …if (current_line == 0 && MB_CUR_MAX > 1 && rl_byte_oriented == 0 && _rl_last_c_pos == prompt_physi…
1520 if (*ols && (!_rl_horizontal_scroll_mode || _rl_last_c_pos > 0 ||
1524 _rl_last_c_pos += col_lendiff;
1533 _rl_last_c_pos += col_lendiff;
1541 _rl_last_c_pos += col_temp;
1554 _rl_last_c_pos += _rl_col_width (nfd+lendiff, 0, temp-col_lendiff);
1556 _rl_last_c_pos += _rl_col_width (nfd+lendiff, 0, temp-lendiff);
1564 _rl_last_c_pos += col_temp;
1579 if (_rl_horizontal_scroll_mode && _rl_last_c_pos == 0 &&
1591 _rl_last_c_pos += _rl_col_width (nfd, 0, temp);;
1600 _rl_last_c_pos += col_temp; /* XXX */
1626 _rl_last_c_pos = _rl_last_v_pos = 0;
1662 _rl_last_c_pos = _rl_col_width (prompt_last_line, 0, l); /* XXX */
1664 _rl_last_c_pos = l;
1726 cpos = _rl_last_c_pos;
1758 i = _rl_last_c_pos;
1761 i = _rl_last_c_pos - woff;
1762 if (dpos == 0 || CR_FASTER (dpos, _rl_last_c_pos) ||
1770 cpos = _rl_last_c_pos = 0;
1820 _rl_last_c_pos = dpos;
1842 _rl_last_c_pos = 0;
2098 visible_line[--_rl_last_c_pos] = '\0';
2125 _rl_last_c_pos += count;
2219 if (_rl_vis_botlin && _rl_last_c_pos == 0 &&
2254 _rl_last_c_pos = 0;
2299 _rl_last_c_pos = 0;
2357 nleft = _rl_last_c_pos - _rl_screenwidth - rl_visible_prompt_length;
2359 nleft = _rl_last_c_pos - _rl_screenwidth;