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 853d93fefa..0090fb7ec2 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3991,6 +3991,7 @@ cursor_off(void)
}
}
+#ifdef FEAT_GUI
/*
* Check whether the cursor is invisible due to an ongoing cursor-less sleep
*/
@@ -3999,6 +4000,7 @@ cursor_is_sleeping(void)
{
return cursor_is_asleep;
}
+#endif
/*
* Disable the cursor and mark it disabled by cursor-less sleep