summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/term.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index 8fb3e128c..44b196feb 100644
--- a/src/term.c
+++ b/src/term.c
@@ -161,11 +161,13 @@ static char_u *vim_tgetstr(char *s, char_u **pp);
static int detected_8bit = FALSE; /* detected 8-bit terminal */
+#ifdef FEAT_TERMRESPONSE
/* When the cursor shape was detected these values are used:
* 1: block, 2: underline, 3: vertical bar
* initial_cursor_blink is only valid when initial_cursor_shape is not zero. */
static int initial_cursor_shape = 0;
static int initial_cursor_blink = FALSE;
+#endif
static struct builtin_term builtin_termcaps[] =
{
@@ -3714,9 +3716,11 @@ term_cursor_mode(int forced)
* mode. */
if (!full_screen || *T_CEI == NUL)
{
+# ifdef FEAT_TERMRESPONSE
if (forced && initial_cursor_shape > 0)
/* Restore to initial values. */
term_cursor_shape(initial_cursor_shape, initial_cursor_blink);
+# endif
return;
}
diff --git a/src/version.c b/src/version.c
index 9f9b8ab4e..cf72cb884 100644
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 972,
+/**/
971,
/**/
970,