Skip to content

Support displaying inline images #1693

@renchap

Description

@renchap

Discord username (optional)

No response

Describe the solution you'd like?

Some terminals are using custom escape sequences to display base64 encoded images (`ESC ] 1337`) or from a path (`ESC ] 1338`)

For example, iTerm uses the first one and provides a simple shell command to test it: https://iterm2.com/documentation-images.html

Is your feature request related to a problem? Please describe.

Some testing software, in my case Rails System tests, can display the screenshot of failed test directly in the terminal, see https://github.com/rails/rails/blob/main/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb#L116 for their implementation

This is very useful when working on those tests.

Additional context

No response

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions