term.getCursorBlink

term.getCursorBlink
Function
Syntax
term.getCursorBlink()
Returns boolean
API term
Source CC:Tweaked (source)

Checks if the cursor is currently blinking.

ExampleCheck if the cursor is blinking
Makes the cursor blink and prints true.
Code
<nowiki>
term.setCursorBlink(true)
print(term.getCursorBlink())
    </nowiki>
Output
true
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.