Lines Matching refs:_rl_last_c_pos

200 int _rl_last_c_pos = 0;  variable
1246 _rl_last_c_pos != o_cpos && \ in rl_redisplay()
1247 _rl_last_c_pos > wrap_offset && \ in rl_redisplay()
1270 o_cpos = _rl_last_c_pos; in rl_redisplay()
1290 _rl_last_c_pos -= prompt_invis_chars_first_line; /* XXX - was wrap_offset */ in rl_redisplay()
1295 _rl_last_c_pos != o_cpos && in rl_redisplay()
1296_rl_last_c_pos > (prompt_last_invisible - _rl_screenwidth - prompt_invis_chars_first_line)) /* XXX… in rl_redisplay()
1301 _rl_last_c_pos -= (wrap_offset-prompt_invis_chars_first_line); in rl_redisplay()
1310 inv_botlin == 0 && _rl_last_c_pos == out && in rl_redisplay()
1312 (_rl_last_c_pos < visible_first_line_len)) in rl_redisplay()
1315 nleft = _rl_screenwidth - _rl_last_c_pos; in rl_redisplay()
1317 nleft = _rl_screenwidth + wrap_offset - _rl_last_c_pos; in rl_redisplay()
1337 _rl_last_c_pos == out && in rl_redisplay()
1338 _rl_last_c_pos < visible_first_line_len && in rl_redisplay()
1343 nleft = _rl_screenwidth - _rl_last_c_pos; in rl_redisplay()
1345 nleft = _rl_screenwidth + wrap_offset - _rl_last_c_pos; in rl_redisplay()
1383 _rl_last_c_pos += wrap_offset; in rl_redisplay()
1396 if (cursor_linenum == 0 && wrap_offset > 0 && _rl_last_c_pos > 0 && in rl_redisplay()
1397 _rl_last_c_pos < PROMPT_ENDING_INDEX && local_prompt) in rl_redisplay()
1405 _rl_last_c_pos = _rl_col_width (local_prompt, 0, nleft, 1) - wrap_offset + modmark; in rl_redisplay()
1407 _rl_last_c_pos = nleft + modmark; in rl_redisplay()
1426 if (wrap_offset && cursor_linenum == 0 && nleft < _rl_last_c_pos) in rl_redisplay()
1433 if (tx >= 0 && _rl_last_c_pos > tx) in rl_redisplay()
1435 _rl_backspace (_rl_last_c_pos - tx); /* XXX */ in rl_redisplay()
1436 _rl_last_c_pos = tx; in rl_redisplay()
1446 else if (nleft != _rl_last_c_pos) in rl_redisplay()
1516 o_cpos = _rl_last_c_pos; in rl_redisplay()
1527 _rl_last_c_pos -= prompt_invis_chars_first_line; /* XXX - was wrap_offset */ in rl_redisplay()
1532 t = _rl_last_c_pos - M_OFFSET (lmargin, wrap_offset); in rl_redisplay()
1534 (_rl_last_c_pos == out) && displaying_prompt_first_line && in rl_redisplay()
1611 #define ADJUST_CPOS(x) do { _rl_last_c_pos -= (x) ; cpos_adjusted = 1; } while (0)
1650 temp = _rl_last_c_pos; in update_line()
1652 temp = _rl_last_c_pos - WRAP_OFFSET (_rl_last_v_pos, visible_wrap_offset); in update_line()
1769 _rl_last_c_pos = newwidth; in update_line()
1815 _rl_last_c_pos = 1; in update_line()
1831 _rl_last_c_pos = 1; in update_line()
1860 _rl_last_c_pos = prompt_physical_chars; in update_line()
1862 _rl_last_c_pos = local_prompt_len; in update_line()
1869 _rl_last_c_pos += _rl_col_width (new, local_prompt_len, ne-new, 1); in update_line()
1871 _rl_last_c_pos += bytes_to_insert; in update_line()
2072 _rl_last_c_pos += visible_wrap_offset; in update_line()
2104 _rl_term_cr && lendiff > prompt_visible_length && _rl_last_c_pos > 0 && in update_line()
2106 ((od >= lendiff) && _rl_last_c_pos < PROMPT_ENDING_INDEX))) in update_line()
2118 _rl_last_c_pos = prompt_physical_chars + modmark; in update_line()
2122 _rl_last_c_pos = _rl_col_width (local_prompt, 0, lendiff, 1) - wrap_offset + modmark; in update_line()
2126 _rl_last_c_pos = lendiff + modmark; in update_line()
2158 _rl_last_c_pos += _rl_col_width (new, nd, ne - new, 1); in update_line()
2185 _rl_last_c_pos += temp; in update_line()
2201 o_cpos = _rl_last_c_pos; in update_line()
2213 (_rl_last_c_pos > 0 || o_cpos > 0) && in update_line()
2214 _rl_last_c_pos == prompt_physical_chars) in update_line()
2336 _rl_last_c_pos += col_temp; in update_line()
2359 _rl_last_c_pos == 0 && in update_line()
2371 _rl_last_c_pos += _rl_col_width (nfd, 0, bytes_to_insert, 1); in update_line()
2373 _rl_last_c_pos += bytes_to_insert; in update_line()
2380 _rl_last_c_pos += col_temp; in update_line()
2386 _rl_last_c_pos += col_temp; in update_line()
2408 _rl_last_c_pos += col_temp; in update_line()
2437 if (_rl_horizontal_scroll_mode && _rl_last_c_pos == 0 && in update_line()
2447 col_lendiff && _rl_last_c_pos < -col_lendiff) in update_line()
2466 _rl_last_c_pos += _rl_col_width (nfd, 0, bytes_to_insert, 1); in update_line()
2470 _rl_last_c_pos >= prompt_invis_chars_first_line && in update_line()
2481 if (_rl_last_c_pos == _rl_screenwidth && in update_line()
2489 _rl_last_c_pos += bytes_to_insert; in update_line()
2510 _rl_last_c_pos += col_temp; /* XXX */ in update_line()
2515 _rl_last_c_pos > wrap_offset && in update_line()
2532 if (col_lendiff && ((mb_cur_max == 1 || rl_byte_oriented) || (_rl_last_c_pos < _rl_screenwidth))) in update_line()
2550 _rl_last_c_pos = _rl_last_v_pos = 0; in rl_on_new_line()
2567 _rl_last_c_pos = 0; in rl_clear_visible_line()
2611 _rl_last_c_pos = _rl_col_width (prompt_last_line, 0, l, 1); /* XXX */ in rl_on_new_line_with_prompt()
2613 _rl_last_c_pos = l; in rl_on_new_line_with_prompt()
2690 cpos = _rl_last_c_pos; in _rl_move_cursor_relative()
2770 i = _rl_last_c_pos; in _rl_move_cursor_relative()
2773 i = _rl_last_c_pos - woff; in _rl_move_cursor_relative()
2774 if (dpos == 0 || CR_FASTER (dpos, _rl_last_c_pos) || in _rl_move_cursor_relative()
2778 cpos = _rl_last_c_pos = 0; in _rl_move_cursor_relative()
2826 _rl_last_c_pos = dpos; in _rl_move_cursor_relative()
2843 _rl_last_c_pos = 0; in _rl_move_vert()
3150 visible_line[--_rl_last_c_pos] = '\0'; in _rl_erase_at_end_of_line()
3179 _rl_last_c_pos += count; in space_to_eol()
3280 if (_rl_vis_botlin && _rl_last_c_pos == 0 && in _rl_update_final()
3308 if (botline_length > 0 || _rl_last_c_pos > 0) in _rl_update_final()
3319 _rl_last_c_pos = 0; in cr()
3363 _rl_last_c_pos = 0; in _rl_redisplay_after_sigwinch()
3427 nleft = _rl_last_c_pos - _rl_screenwidth - rl_visible_prompt_length; in _rl_current_display_line()
3429 nleft = _rl_last_c_pos - _rl_screenwidth; in _rl_current_display_line()