ability to change parentElement of a terminal instead of document.body #52

Open
wants to merge 1 commit into
from

Projects

None yet

3 participants

@jedi4ever

By default terminals get appended to the bottom of document.body.

By setting the parentElement of the terminal before the open, you can control the position where the code gets inserted.

var term = new Terminal(80, 24); term.parentElement = document.getElementById('terminal'); term.open();

@lyrixx
lyrixx commented Mar 11, 2013

👍

@risacher
risacher commented Dec 7, 2013

This feature is in the current codebase by setting options.parent or options.body.
Recommend closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment