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

Add support for vt240(or +) for sixel support #1631

Closed
wagoodman opened this issue Jan 14, 2019 · 2 comments
Closed

Add support for vt240(or +) for sixel support #1631

wagoodman opened this issue Jan 14, 2019 · 2 comments

Comments

@wagoodman
Copy link

With vt240 (or higher) support for sixels would allow for utilities like https://github.com/hackerb9/lsix (this sounds like it could be a pretty heavy lift given that this is dependent on vte, which I think doesn't support anything above vt220)

@gnunn1
Copy link
Owner

gnunn1 commented Jan 23, 2019

This would need to be done in VTE and they all have an issue open for sixel support in their issue list.

@algj
Copy link

algj commented Jan 27, 2025

As far as I can see - it's now possible to build VTE with sixel support.

Related issue: mate-desktop/mate-terminal#410

Mate-terminal is using vte_terminal_set_enable_sixel if (vte_get_feature_flags() & VTE_FEATURE_FLAG_SIXEL) != 0:
https://gitlab.gnome.org/GNOME/gnome-terminal/-/blob/master/src/terminal-screen.cc#L1541-1543

Though, vte does not enable sixel support by default unfortunately, you need to build it yourself and enable it from your terminal.

https://gitlab.gnome.org/GNOME/vte/blob/master/src/vtegtk.cc#L7944-7958

It appears it is not compiled by default with sixel support because they haven't fixed some of the issues, I'll test it out and let everyone know how well it works on Tilix.

Update:

Well, I compiled VTE with sixel support. I added the sixel support on tilix:

algj@c42e569

For some reason I failed to make sixels display, same issue appears on vte terminal itself too, just an empty space instead of the image. I think it may not work on GTK4...?

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

No branches or pull requests

3 participants