-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add xterm/image-addon to web terminal #48780
Conversation
This allows the terminal in the web UI to "pretty print" images based on the supported protocols (SIXEL and IIP)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Maybe worth mentioning in the docs or at least in the v17 release notes if we get this into 17.
* [v16] Add xterm/image-addon to web terminal Backport #48780 * [v16] Add wasm to content security policy for web ssh terminal
"@xterm/addon-canvas": "^0.7.0", | ||
"@xterm/addon-fit": "^0.10.0", | ||
"@xterm/addon-image": "^0.8.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you have a chance to look into how this works?
In theory, it's something that would be nice to have in Connect too. But it also would be the first time we render 3rd-party content within Connect. If it leads to an RCE, our security posture is definitely much worse than that of a regular web browser.
This allows the terminal in the web UI to "pretty print" images based on the supported protocols (SIXEL and IIP)
changelog: The web terminal now supports SIXEL and IIP image protocols.