term.native

From ComputerCraft
Jump to navigation Jump to search

term.native
Function
Syntax
term.native()
Returns table
API term
Source CC:Tweaked

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.