mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 7.4.762
Problem: Comment for may_req_bg_color() is wrong. (Christ van Willegen) Solution: Rewrite the comment.
This commit is contained in:
@@ -3409,13 +3409,8 @@ may_req_ambiguous_char_width()
|
|||||||
|
|
||||||
#if defined(FEAT_TERMRESPONSE) || defined(PROTO)
|
#if defined(FEAT_TERMRESPONSE) || defined(PROTO)
|
||||||
/*
|
/*
|
||||||
* Check how the terminal treats ambiguous character width (UAX #11).
|
* Similar to requesting the version string: Request the terminal background
|
||||||
* First, we move the cursor to (1, 0) and print a test ambiguous character
|
* color when it is the right moment.
|
||||||
* \u25bd (WHITE DOWN-POINTING TRIANGLE) and query current cursor position.
|
|
||||||
* If the terminal treats \u25bd as single width, the position is (1, 1),
|
|
||||||
* or if it is treated as double width, that will be (1, 2).
|
|
||||||
* This function has the side effect that changes cursor position, so
|
|
||||||
* it must be called immediately after entering termcap mode.
|
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
may_req_bg_color()
|
may_req_bg_color()
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
762,
|
||||||
/**/
|
/**/
|
||||||
761,
|
761,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user