diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-19 19:25:46 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-19 19:25:46 +0900 |
| commit | d9c028c9343089f4cafb627e50e8bfc52fb8aea3 (patch) | |
| tree | d5b82f442b2e5f4141c2850163d44dc0d194741f /bin | |
| parent | c54ad82e8db05cb6a2a57af08b5115efe0f21cd5 (diff) | |
| download | fzf-d9c028c9343089f4cafb627e50e8bfc52fb8aea3.tar.gz | |
fzf-preview.sh: Let chafa decide the right format
Close #3822
Output encoding:
-f, --format=FORMAT Set output format; one of [iterm, kitty, sixels,
symbols]. Iterm, kitty and sixels yield much higher
quality but enjoy limited support. Symbols mode yields
beautiful character art.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/fzf-preview.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fzf-preview.sh b/bin/fzf-preview.sh index 13beef8f..dd017848 100755 --- a/bin/fzf-preview.sh +++ b/bin/fzf-preview.sh @@ -57,7 +57,7 @@ if [[ $KITTY_WINDOW_ID ]]; then # 2. Use chafa with Sixel output elif command -v chafa > /dev/null; then - chafa -f sixel -s "$dim" "$file" + chafa -s "$dim" "$file" # Add a new line character so that fzf can display multiple images in the preview window echo |
