Skip to content

images aren't serialized #47

Open
Open
@PerBothner

Description

I got xterm.js + xterm-add-image working under DomTerm. However, it doesn't appear a sixel-produced image is saved by the serialize addon.

Specifically, I printed some images (using lsix), and then did a "detach session". When I then did "attach" on the session, the images were gone.

Serialization is important not only for detach+attach, but also when dragging a window to a new top-level window - this also uses serialization on most platforms.

In "regular" DomTerm (not based on xterm.js), an image is represented as a <img> element with a data: URL. When a buffer is serialized as HTML, this automatically handles such images. (FWIW, I'm actively working on improving the sixel handling in regular DomTerm.)

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions