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

term.reset() doesn't work? #6

Open
aaronbeall opened this issue Oct 21, 2019 · 0 comments
Open

term.reset() doesn't work? #6

aaronbeall opened this issue Oct 21, 2019 · 0 comments

Comments

@aaronbeall
Copy link

aaronbeall commented Oct 21, 2019

When I call term.reset() it seems to leave all the content rendered in the HTML, and new writes happen inside the old content, like intersecting text.

I tried manually clearing the HTML content after calling reset() and then the new terminal writes would not display at all.

Workaround: Completely re-create the hypernal instance. However I didn't see a destroy() method, should I be concerned about memory leaks? I have to clear (now re-instantiate) frequently.

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