diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-11-07 11:42:32 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-11-07 11:51:21 +0900 |
commit | 230fc49ae216169f9812adcf8942bba3993e61e0 (patch) | |
tree | 381b3739db998a35e3a8b276c59c9b7c11f477b8 /CHANGELOG.md | |
parent | 250d507bdfe370045a32c8cd85fc2b4f34c8df5c (diff) |
(Experimental) Add support for iTerm2 inline image protocol
Close #1102
fzf --preview 'imgcat -W $FZF_PREVIEW_COLUMNS -H $FZF_PREVIEW_LINES {}'
Notes:
* There is no good way to determine the height of the rendered image,
so we assume that the image takes the full height of the preview
window. So the image cannot be displayed with the other text.
* fzf-preview.sh script was updated to use `imgcat` if it's available
but `chafa` is not.
* iTerm2 also supports Sixel, so adding support for this protocol is not
quite necessary but it renders animated GIFs much better (e.g. looping).
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index a02e12cd..0a041f8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,12 @@ CHANGELOG ```sh fzf --preview='fzf-preview.sh {}' ``` -- (Experimental) Sixel and Kitty image support now also available on Windows +- (Experimental) iTerm2 inline image protocol support in preview window + ```sh + # Using https://iterm2.com/utilities/imgcat + fzf --preview 'imgcat -W $FZF_PREVIEW_COLUMNS -H $FZF_PREVIEW_LINES {}' + ``` +- (Experimental) Sixel, Kitty, and iTerm2 image support now also available on Windows - HTTP server can be configured to accept remote connections ```sh # FZF_API_KEY is required for a non-localhost listen address |