aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/view.c b/view.c
index 05fbaf3..4b2f7c8 100644
--- a/view.c
+++ b/view.c
@@ -1090,6 +1090,10 @@ int view_cursors_count(View *view) {
return i;
}
+bool view_cursors_multiple(View *view) {
+ return view->cursors && view->cursors->next;
+}
+
static void view_cursors_free(Cursor *c) {
if (!c)
return;