term.redirect
From ComputerCraft Wiki
Function term.redirect | |
Redirects terminal output to a monitor (By using peripheral.wrap to get the monitor object.) or other redirect target. | |
Syntax | term.redirect() |
Returns | table previous terminal object |
Part of | ComputerCraft |
API | term |
Examples
Example | |
Prints "Hello World!" on the right monitor. | |
Code |
term.redirect(peripheral.wrap("right")) |
Output | None |