Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sync.addTarget(target)
- -- add a target to use. Works like term.redirect.
- -- target: a table with the term functions.
- sync.removeTarget(target)
- -- removes a target.
- -- target: a previoulsy added target table.
- sync.addMonitor(side)
- -- adds the monitor on the given side to the targets.
- -- side: the side of the monitor to add.
- sync.removeMonitor(side)
- -- removes the monitor on the given side from the targets.
- -- side: the side of the monitor to remove.
- sync.addMonitors()
- -- adds all the attached monitors to the targets.
- sync.removeMonitors()
- -- removes all the attached monitors from the targets.
- sync.redirect(addTerminal)
- -- redirects the terminal output to all the targets
- -- addTerminal: set to true to add the default term to the targets.
- sync.restore()
- -- restores the output to the previous state (console, monitor or whatever)
- sync.useMaxSize(:D/>/>/>
- -- whether to use the maximum or minimum size of all the targets. b should be a boolean (true to use max size, false for min size).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement