term.setCursorBlink

From ComputerCraft Wiki
Jump to: navigation, search


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)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox