summaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index a83f50679e..8144fad530 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3400,6 +3400,7 @@ cursor_off()
}
}
+#if defined(CURSOR_SHAPE) || defined(PROTO)
/*
* Set cursor shape to match Insert mode.
*/
@@ -3424,6 +3425,7 @@ term_cursor_shape()
showing_insert_mode = FALSE;
}
}
+#endif
/*
* Set scrolling region for window 'wp'.