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

Multiple Documents in Same Terminal Screen #237

Open
paul-bell opened this issue Jun 23, 2023 · 0 comments
Open

Multiple Documents in Same Terminal Screen #237

paul-bell opened this issue Jun 23, 2023 · 0 comments

Comments

@paul-bell
Copy link

Thank you for this very nice piece of work!

When I create two Documents, e.g.,

const doc1 = term.createDocument( {
    palette: new termkit.Palette()
});

table1 = new termkit.TextTable({
    parent: doc1,
    cellContents: [ ET CETERA

const doc2 = term.createDocument( {
    palette: new termkit.Palette()
});

table2 = new termkit.TextTable({
    parent: doc2 ,
    cellContents: [ ET CETERA

The rendering of the second table "clears" that of the first. Each works fine by itself.

Is there a way for multiple Documents to co-exist in the same terminal screen?

Thanks very much.

-Paul

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

No branches or pull requests

1 participant