Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 69407 | Differences between
and this patch

Collapse All | Expand All

(-)lib/readline/display.c.orig (+3 lines)
Lines 941-946 Link Here
941
	  /* nleft == number of characters in the line buffer between the
941
	  /* nleft == number of characters in the line buffer between the
942
	     start of the line and the cursor position. */
942
	     start of the line and the cursor position. */
943
	  nleft = c_pos - pos;
943
	  nleft = c_pos - pos;
944
#if 0
944
945
945
	  /* Since _rl_backspace() doesn't know about invisible characters in the
946
	  /* Since _rl_backspace() doesn't know about invisible characters in the
946
	     prompt, and there's no good way to tell it, we compensate for
947
	     prompt, and there's no good way to tell it, we compensate for
Lines 954-959 Link Here
954
		_rl_last_c_pos = nleft;
955
		_rl_last_c_pos = nleft;
955
	    }
956
	    }
956
957
958
#endif
959
957
	  if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)
960
	  if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)
958
	    _rl_move_cursor_relative (nleft, &invisible_line[pos]);
961
	    _rl_move_cursor_relative (nleft, &invisible_line[pos]);
959
	  else if (nleft != _rl_last_c_pos)
962
	  else if (nleft != _rl_last_c_pos)

Return to bug 69407