term.getCursorBlink

From ComputerCraft
Jump to: navigation, search

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

Checks if the cursor is currently blinking.

ExampleExampleCheck if the cursor is blinking
Makes the cursor blink and prints true.
Code
term.setCursorBlink(true)
print(term.getCursorBlink())
Output
true