Difference between revisions of "Term.setCursorBlink"

From ComputerCraft Wiki
Jump to: navigation, search
m (Moved to CAT:APIFunctions)
Line 13: Line 13:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:API_Functions]]

Revision as of 18:41, 28 November 2012


Grid Redstone.png  Function term.setCursorBlink
Sets whether the cursor is blinking or not.
Syntax term.setCursorBlink(boolean state)
Returns none
Part of ComputerCraft
API term

Examples

Grid paper.png  Example
Makes the cursor blink for 3 seconds, then not blink for 3 seconds.
Code
term.setCursorBlink(true)
sleep(3)
term.setCursorBlink(false)
sleep(3)