This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
SoundKiller777's profile picture

New term functions ?

Started by SoundKiller777, 13 March 2012 - 04:04 PM
SoundKiller777 #1
Posted 13 March 2012 - 05:04 PM
I've been looking though all the amazing things included in the 1.31 update & messing with them to see what they do. One of the things I can't quite work out is what the following 2 functions do:

term.redirect( object )
term.restore()

I'm only curious as to what they're for I don't need them for anything at the moment so no rush ^-^.
Espen #2
Posted 13 March 2012 - 05:08 PM
They're used to redirect terminal input & output to a peripheral, like e.g. the new monitors. :mellow:/>/>
The restore function then returns I/O back to the computer terminal.

Take a look into the "monitor" program for an example.
Cheers.
SoundKiller777 #3
Posted 13 March 2012 - 05:10 PM
They're used to redirect terminal input & output to a peripheral, like e.g. the new monitors. :mellow:/>/>
The restore function then returns I/O back to the computer terminal.

Take a look into the "monitor" program for an example.
Cheers.
Thank you, =D.