From e7718b92b7a79903bd945244560f1c8015f64ced Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 17 Jan 2024 00:13:14 +0900 Subject: 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') 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 -- cgit v1.2.3