summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-10-26 00:22:28 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-10-26 00:49:16 +0900
commitd02b9442a56ec03dbb905d432762cf545603ef07 (patch)
treefdf5878111abb8693a559fff355e499c49378782 /shell
parentbac385b59ccef279400689d406bf270cfdee06f3 (diff)
downloadfzf-d02b9442a56ec03dbb905d432762cf545603ef07.tar.gz
(Experimental) Improve Sixel graphics support (#2544)
Progress: * Sixel image can now be displayed with other text, and is scrollable * If an image can't be displayed entirely due to the scroll offset, fzf will render a wireframe to indicate that an image should be displayed * Renamed $FZF_PREVIEW_{WIDTH,HEIGHT} to $FZF_PREVIEW_PIXEL_{WIDTH,HEIGHT} for clarity * Added bin/fzf-preview.sh script to demonstrate how to display an image using Kitty or Sixel protocol An example: ls *.jpg | fzf --preview='seq $((FZF_PREVIEW_LINES*9/10)); fzf-preview.sh {}; seq 100' A known issue: * If you reduce the size of the preview window, the image may extend beyond the preview window
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions