Skip to content

Commit f15c436

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents a7a8d32 + be0b729 commit f15c436

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

src/term.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4632,6 +4632,10 @@ check_termcode(
46324632
key_name[0] = (int)KS_EXTRA;
46334633
key_name[1] = (int)KE_IGNORE;
46344634
slen = i + 1 + (tp[i] == ESC);
4635+
if (tp[i] == 0x07 && i + 1 < len && tp[i + 1] == 0x18)
4636+
/* Sometimes the 0x07 is followed by 0x18, unclear
4637+
* when this happens. */
4638+
++slen;
46354639
break;
46364640
}
46374641
if (i == len)

src/terminal.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2316,10 +2316,12 @@ create_vterm(term_T *term, int rows, int cols)
23162316

23172317
/* For unix do not use a blinking cursor. In an xterm this causes the
23182318
* cursor to blink if it's blinking in the xterm.
2319-
* We do want a blinking cursor by default on Windows, since that's what
2320-
* the default is for a console. */
2319+
* For Windows we respect the system wide setting. */
23212320
#ifdef WIN3264
2322-
value.boolean = 1;
2321+
if (GetCaretBlinkTime() == INFINITE)
2322+
value.boolean = 0;
2323+
else
2324+
value.boolean = 1;
23232325
#else
23242326
value.boolean = 0;
23252327
#endif

src/version.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,10 @@ static char *(features[]) =
784784

785785
static int included_patches[] =
786786
{ /* Add new patch number below this line */
787+
/**/
788+
994,
789+
/**/
790+
993,
787791
/**/
788792
992,
789793
/**/

0 commit comments

Comments
 (0)