echo() accepts finalize function for container

allow user control over the output container div by calling finalize
function after every line draw eg:

term.echo("foo", function (x) { x.addClass('output1'); });

then you can do stuff like

$('.output1').toggle()