Module cursor
¶
Cursor manipulation functions
Properties¶
Property | Type | Description |
---|---|---|
hide | string | Hide the cursor |
show | string | Show the cursor |
restore | string | Restore the cursor |
save | string | Save the cursor |
blinkingBlock | string | Set the style to a blinking block |
steadyBlock | string | Set the style to a steady block |
blinkingUnderline | string | Set the style to a blinking underline |
steadyUnderline | string | Set the style to a steady underline |
blinkingBar | string | Set the style to a blinking bar |
steadyBar | string | Set the style to a steady bar |
Functions¶
cursor.up(count: number): string¶
Go up a certain count
cursor.down(count: number): string¶
Go down a certain count
cursor.left(count: number): string¶
Go left a certain count
cursor.right(count: number): string¶
Go right a certain count
cursor.goTo(x: number, y: number): string¶
Go to a specific location