Functions in the Terminal API:
term.write( text )
term.clear()
term.clearLine()
term.getCursorPos()
term.setCursorPos( x, y )
term.setCursorBlink( blink )
term.isColor()
term.setTextColor( color )
term.setBackgroundColor( color )
term.getSize()
term.scroll( n )
term.redirect( object )
term.restore()