glamour icon indicating copy to clipboard operation
glamour copied to clipboard

Feature: support embedded images in terminals through proprietary escape codes

Open marcastel opened this issue 3 years ago • 2 comments

Provide -- possibly through a custom configuration or CLI option, support for terminals (such as iTerm2) that support inlined images. For instance:

![](myimage.png)

would be translated to the following proprietary escape sequence:

ESC ] 1337 ; File = [arguments] : base-64 encoded file contents ^G

And the image would be displayed inline (width should probably be auto-adjusted to terminal's column width).

Rather than hardcoding such proprietary sequences, these could be documented in the configuration file, and, if present, used to embed the image).

marcastel avatar May 18 '21 02:05 marcastel