Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jedi4ever
Copy link

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
Copy link

lyrixx commented Mar 11, 2013

👍

@risacher
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants