From 89b6fa91446fb15965380ac8dd3e9f8e973cce2f Mon Sep 17 00:00:00 2001 From: Toby Rea Date: Sat, 26 Sep 2020 17:56:29 +0100 Subject: [PATCH] Update the lua docs for the cursor hide and show methods --- lua_docs.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua_docs.md b/lua_docs.md index 5727823..dc02185 100644 --- a/lua_docs.md +++ b/lua_docs.md @@ -70,6 +70,10 @@ A reference to the cursor object. ### Methods +#### cursor:hide() + +Hides the cursor. + #### cursor:on(event, callback) Used to register event listeners. @@ -79,6 +83,10 @@ Used to register event listeners. Get the current position of the cursor. Returns two parameters: `x` and `y`. +### cursor:show() + +Shows the cursor. + #### cursor:view_at_pos() Returns the view at the cursor position, or `nil` if there is none.