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

Possible to Render Output Contents in Canvas Based? #879

Open
KiddoV opened this issue Apr 26, 2023 · 1 comment
Open

Possible to Render Output Contents in Canvas Based? #879

KiddoV opened this issue Apr 26, 2023 · 1 comment
Labels

Comments

@KiddoV
Copy link
Contributor

KiddoV commented Apr 26, 2023

I have an idea for a new feature for jQuery Terminal

I was wondering if we can render all output contents in canvas.
I am not sure how it work, but XTerm.JS did it with this add on: https://github.com/xtermjs/xterm.js/tree/master/addons/xterm-addon-canvas

I think with this feature, JQTerminal will be more performant and customizable than the default HTML rendering.
Also do you think this will cost less memory consumption?

@KiddoV KiddoV added the feature label Apr 26, 2023
@jcubic
Copy link
Owner

jcubic commented Apr 26, 2023

It will be a lot of work since you probably also will want a scrollbar so everything will need to be handled in the library. But jQuery Terminal can add events and handlers that will make something like this possible.

But if something like this will ever be created it will need to be part of version 3.0, I'm only not sure when it will be implemented, I don't have much time to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants