window.restoreCursor

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

Returns the Cursor back to a Window.

ExampleRestore the Cursor
Restore the Cursor
Code
<nowiki>
local win = window.create(term.current(),1,1,10,10)
win.restoreCursor()
  </nowiki>
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.