summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-06-19 19:25:46 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-06-19 19:25:46 +0900
commitd9c028c9343089f4cafb627e50e8bfc52fb8aea3 (patch)
treed5b82f442b2e5f4141c2850163d44dc0d194741f /bin
parentc54ad82e8db05cb6a2a57af08b5115efe0f21cd5 (diff)
downloadfzf-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-xbin/fzf-preview.sh2
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