aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-27 21:59:30 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-28 13:21:50 +0200
commitb134abd515969c123182d5f20008a5f89bd7bfe4 (patch)
tree9a93e77009633b76cd105917be315decb0e75ae9 /view.h
parent620518966fb99511c506af292cc1885f7a419881 (diff)
downloadvis-b134abd515969c123182d5f20008a5f89bd7bfe4.tar.gz
vis-b134abd515969c123182d5f20008a5f89bd7bfe4.tar.xz
vis: ESC in normal mode clears all cursors
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