summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-01-17 00:13:14 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-01-17 00:17:22 +0900
commite7718b92b7a79903bd945244560f1c8015f64ced (patch)
tree260dbea61700f58f8ad7ce7aa5acdb83d349869c /README.md
parentcdfaf761df2e68503ca7c74c0aaa3e6fa4a46bda (diff)
Kitty image support improvements
* Use `--unicode-placeholder` for consistent result in and out of tmux * Use updated version of junegunn/go-runewidth that handles diacritics used in Kitty Unicode placeholder Close #3567
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 04da4a4c..55a3dba9 100644
--- a/README.md
+++ b/README.md
@@ -741,7 +741,7 @@ Kitty, you can make fzf display an image in the preview window.
```sh
fzf --preview='
if file --mime-type {} | grep -qF image/; then
- kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {} | sed \$d
+ kitty icat --clear --transfer-mode=memory --unicode-placeholder --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {} | sed \$d
else
bat --color=always {}
fi