Skip to content

Commit cabe434

Browse files
brammooldouglaskayama
authored andcommitted
patch 7.4.762 Problem: Comment for may_req_bg_color() is wrong. (Christ van Willegen) Solution: Rewrite the comment.
1 parent 21dee67 commit cabe434

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

src/term.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3409,13 +3409,8 @@ may_req_ambiguous_char_width()
34093409

34103410
#if defined(FEAT_TERMRESPONSE) || defined(PROTO)
34113411
/*
3412-
* Check how the terminal treats ambiguous character width (UAX #11).
3413-
* First, we move the cursor to (1, 0) and print a test ambiguous character
3414-
* \u25bd (WHITE DOWN-POINTING TRIANGLE) and query current cursor position.
3415-
* If the terminal treats \u25bd as single width, the position is (1, 1),
3416-
* or if it is treated as double width, that will be (1, 2).
3417-
* This function has the side effect that changes cursor position, so
3418-
* it must be called immediately after entering termcap mode.
3412+
* Similar to requesting the version string: Request the terminal background
3413+
* color when it is the right moment.
34193414
*/
34203415
void
34213416
may_req_bg_color()

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@ static char *(features[]) =
756756

757757
static int included_patches[] =
758758
{ /* Add new patch number below this line */
759+
/**/
760+
762,
759761
/**/
760762
761,
761763
/**/

0 commit comments

Comments
 (0)