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

Fix iterm2 inline image protocol #267

Merged
merged 3 commits into from
Oct 16, 2023
Merged

Fix iterm2 inline image protocol #267

merged 3 commits into from
Oct 16, 2023

Conversation

swsnr
Copy link
Owner

@swsnr swsnr commented Oct 16, 2023

  • Correct iterm2 inline image sequences
  • Always terminate OSC with ST
  • Append .png to file name of rendered SVG images

Always include File= command even for unnamed images, and always
include the size field because it's not actually optional.
That's actually as suggested by the official xterm documentation at
https://www.xfree86.org/current/ctlseqs.html; ASCII BEL seems to be the
legacy format.
@swsnr swsnr enabled auto-merge October 16, 2023 18:53
@swsnr swsnr merged commit f58a5e7 into main Oct 16, 2023
6 checks passed
@swsnr swsnr deleted the fix-iterm2-protocol branch October 16, 2023 19:05
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

Successfully merging this pull request may close these issues.

None yet

1 participant