window.restoreCursor

From ComputerCraft
Jump to navigation Jump to search

window.restoreCursor
Function
Syntax
window.restoreCursor()
Returns nil
API window
Source CC:Tweaked (source)

Returns the Cursor back to a Window.

ExampleExampleRestore the Cursor
Restore the Cursor
Code
local win = window.create(term.current(),1,1,10,10)
win.restoreCursor()