-
Notifications
You must be signed in to change notification settings - Fork 3
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
Consider migrating to xterm.js #41
Comments
We need to ask Cockpit team if and how we can do that. |
We will need to deal with proper building of xterm.js with webpack - they are doing some efforts in this directions - xtermjs/xterm.js#1018 This is may be useful also: https://xtermjs.org/docs/api/addons/attach/ |
Okay, so I've moved back to work with term.js for now - and I've made a POC for this feature. It's POC, because I'm changing font-size in very inefficient way with jQuery.css() method, which hangs on playback, but works with step-by-step feature. |
Also, just a general notice - I really want to add full-screen feature ( like a real full screen on YouTube for example ) + I want to add buttons for adjusting font-size, maybe even with broken lines at the end, just to give this kind of flexibility for user ( like we can have in open source software in general as an example ) - or we can just hide part of terminal if it's going to break lines. |
As for resizing of terminal div on page - it's right now under a question for me - if we should do it at all, but it will definitely possible to make such after I'll create this self-validation function for line width and font size correlation check. |
It might be a good time to switch to xterm.js, which is maintained and updated instead of deprecated term.js.
This might be beneficial for cockpit also.
The text was updated successfully, but these errors were encountered: