mirror of
https://github.com/wez/wezterm.git
synced 2024-12-29 16:42:13 +03:00
9a610358d1
Standardize on `thing.md` rather than `thing.markdown` to make it easier to cross link.
21 lines
590 B
Markdown
21 lines
590 B
Markdown
## iTerm Image Protocol Support
|
|
|
|
wezterm implements support for the [iTerm2 inline images
|
|
protocol](https://iterm2.com/documentation-images.html) and provides a handy
|
|
`imgcat` subcommand to make it easy to try out. Because the protocol is
|
|
just a protocol, wezterm's `imgcat` also renders images in iTerm2.
|
|
|
|
To render an image inline in your terminal:
|
|
|
|
```
|
|
$ wezterm imgcat /path/to/image.png
|
|
```
|
|
|
|
<img width="100%" height="100%" src="screenshots/wezterm-imgcat.png" alt="inline image display">
|
|
|
|
|
|
**Note that the image protocol isn't fully handled by multiplexer sessions
|
|
at this time**.
|
|
|
|
|