window.restoreCursor
From ComputerCraft Wiki
Function window.restoreCursor | |
A function available to window-based terminal objects created via the window API, which restores the cursor to that window.
All windows have parent objects, such as other windows, monitors, or the computer's own display. Rendering to a given child object renders via the parent(s), and hence moves said parent's (one single!) cursor around. If a parent has multiple children, you'll hence find that they'll hence fight over that cursor - this command can be used to force it back into the window where you require it, without otherwise affecting that window. Most actions that can be requested of a window (eg calling its write command, making it visible, etc) will have the same effect. See also: term.setCursorBlink() | |
Syntax | window.restoreCursor() |
Returns | None |
Part of | ComputerCraft |
API | term |