Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

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

swsnr added 3 commits October 16, 2023 20:42
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
@swsnr swsnr deleted the fix-iterm2-protocol branch October 16, 2023 19:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant