aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'view.h')
-rw-r--r--view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/view.h b/view.h
index 97fd12c..4e750c0 100644
--- a/view.h
+++ b/view.h
@@ -115,6 +115,8 @@ void view_scroll_to(View*, size_t pos);
void view_cursor_to(View*, size_t pos);
/* create a new cursor */
Cursor *view_cursors_new(View*);
+/* get number of active cursors */
+int view_cursors_count(View*);
/* dispose an existing cursor */
void view_cursors_free(Cursor*);
/* only keep the main cursor, release all others together with their