term.restore

From ComputerCraft Wiki
Revision as of 08:06, 28 March 2014 by Oeed (Talk | contribs) (Added depreciation notice)

Jump to: navigation, search


term.restore has been deprecated.
term.restore has been removed from ComputerCraft in version 1.6.


Grid Redstone.png  Function term.restore
Restores the program from running on a monitor to run on the computer
Syntax term.restore()
Returns Nothing
Part of ComputerCraft
API term

Examples

Grid paper.png  Example
Restores a program to the computer. This will only work if the computer was running a program on a monitor
Code
term.restore()

Additional Notes

  • term.restore() will return the monitor to the last used redirect target - meaning that if you have used term.redirect on two different monitor objects, term.restore() will only restore back to the first redirected monitor.
  • To restore output directly to the terminal, use term.redirect(term.native).