From b134abd515969c123182d5f20008a5f89bd7bfe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 27 Jul 2015 21:59:30 +0200 Subject: vis: ESC in normal mode clears all cursors --- view.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view.h') 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 -- cgit v1.2.3