How would one go about creating an object you can redirect the terminal output to? I would like it to work with all versions of CC, if possible. Would you simply have a table with the functions in it? I'm pretty sure there's something more than that though.
Creating a (valid) term redirect target
Started by KingofGamesYami, Sep 27 2014 04:31 AM
2 replies to this topic
#1
Posted 27 September 2014 - 04:31 AM
#2
Posted 27 September 2014 - 04:40 AM
That's really all there is to it, actually. Have a read through my framebuffer API when you have a moment. You'll note that calling framebuffer.new would cause the API to create a new table, populate it with the term functions, and return that table.
#3
Posted 27 September 2014 - 01:48 PM
Note that you do not need to implement term.redirect, term.restore or term.native.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











