/**
*
* back_color_erase feature for xterm.
- *
- * @public
*/
Terminal.prototype.eraseAttr = function() {
// if (this.is('screen')) return this.defAttr;
/**
* Focus the terminal. Delegates focus handling to the terminal's DOM element.
- *
- * @public
*/
Terminal.prototype.focus = function() {
return this.element.focus();
/**
* Blur the terminal. Delegates blur handling to the terminal's DOM element.
- *
- * @public
*/
Terminal.prototype.blur = function() {
return this.element.blur();
/**
* Initialize default behavior
- *
- * @public
*/
Terminal.prototype.initGlobal = function() {
Terminal.bindKeys(this);
* Opens the terminal within an element.
*
* @param {HTMLElement} parent The element to create the terminal within.
- * @public
*/
Terminal.prototype.open = function(parent) {
var self=this, i=0, div;
/**
* Destroys the terminal.
- * @public
*/
Terminal.prototype.destroy = function() {
this.readable = false;
*
* @param {string} event The name of the event. TODO: Document all event types
* @param {function} callback The function to call when the event is triggered.
- *
- * @public
*/
Terminal.on = on;
Terminal.off = off;