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.