Term API
|
|||||||||||
Returns the current terminal object of the computer. This is useful to keep track of terminal objects when term.redirect was used. | |||||||||||
Syntax | term.current() | ||||||||||
Returns | table | ||||||||||
Part of | CC:Tweaked | ||||||||||
API | term | ||||||||||
|
|
|||
Returns the native terminal object of the current computer. This is useful if you want to return to your previous term when term.redirect was used. It is recommended that you avoid using this function when possible. May cause problems with multi-shell and other windowed applications. Instead keep track of the terminal object you want to return to using term.current. | |||
Syntax | term.native() | ||
Returns | table | ||
Part of | CC:Tweaked | ||
API | term |
|
|||||||||||
Redirects to a terminal, and returns all Term objects available in the specified terminal. | |||||||||||
Syntax | term.redirect(
|
||||||||||
Returns | table terminal | ||||||||||
Part of | CC:Tweaked | ||||||||||
API | term | ||||||||||
|
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.