File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,11 +161,13 @@ static char_u *vim_tgetstr(char *s, char_u **pp);
161161
162162static int detected_8bit = FALSE; /* detected 8-bit terminal */
163163
164+ #ifdef FEAT_TERMRESPONSE
164165/* When the cursor shape was detected these values are used:
165166 * 1: block, 2: underline, 3: vertical bar
166167 * initial_cursor_blink is only valid when initial_cursor_shape is not zero. */
167168static int initial_cursor_shape = 0 ;
168169static int initial_cursor_blink = FALSE;
170+ #endif
169171
170172static struct builtin_term builtin_termcaps [] =
171173{
@@ -3714,9 +3716,11 @@ term_cursor_mode(int forced)
37143716 * mode. */
37153717 if (!full_screen || * T_CEI == NUL )
37163718 {
3719+ # ifdef FEAT_TERMRESPONSE
37173720 if (forced && initial_cursor_shape > 0 )
37183721 /* Restore to initial values. */
37193722 term_cursor_shape (initial_cursor_shape , initial_cursor_blink );
3723+ # endif
37203724 return ;
37213725 }
37223726
Original file line number Diff line number Diff line change @@ -769,6 +769,8 @@ static char *(features[]) =
769769
770770static int included_patches [] =
771771{ /* Add new patch number below this line */
772+ /**/
773+ 972 ,
772774/**/
773775 971 ,
774776/**/
You can’t perform that action at this time.
0 commit comments