JQuery Terminal term.echo from another function?
<p>I am trying to use: <code>http://terminal.jcubic.pl/</code></p>

<p>I want to be able to call term.echo from another function to be able to place data inside the terminal, but I can not reference it.</p>

<p>Heres the code below:</p>

<pre><code>jQuery(document).ready(function($) {
    var id = 1;
    $('body').terminal(function(command, term) {
        if (command == 'help') {
            term.echo("available commands are mysql, js, test");
        } else{
          term.echo("entered: " + command);
        }

    }, {
        greetings: "Shell",
        onBlur: function() {
            return false;
        }
    });
});
</code></pre>

<p>How can I access term.echo externally, so I can from like a button click call term.echo to add in data?</p>
