Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Leaves.CursorSourceThe default style used for the cursor.
make () creates a default cursor that will be blinking and use the default_style.
make ~style ~blink ~fps () will create a custom cursor that will use the style style, and will blink at a speed of fps.
update t e updates the cursor t with information from the event e. Note: This is only needed if `blink` is set to `true`.
view t ~text_style text will display the cursor over a given input of the string text.
When the cursor is not visible, for example while blinking, text_style determines style when cursor is not visible.
Cursor.view cursor " "