You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fzf/src
Junegunn Choi 230fc49ae2
(Experimental) Add support for iTerm2 inline image protocol
Close #1102

  fzf --preview 'imgcat -W $FZF_PREVIEW_COLUMNS -H $FZF_PREVIEW_LINES {}'

Notes:
* There is no good way to determine the height of the rendered image,
  so we assume that the image takes the full height of the preview
  window. So the image cannot be displayed with the other text.
* fzf-preview.sh script was updated to use `imgcat` if it's available
  but `chafa` is not.
* iTerm2 also supports Sixel, so adding support for this protocol is not
  quite necessary but it renders animated GIFs much better (e.g. looping).
7 months ago
..
algo Use strings.ContainsRune instead (#3335) 12 months ago
protector Fix crash on OpenBSD with --listen (#3483) 8 months ago
tui Sixel and Kitty image support on Windows binary (#2544) 7 months ago
util Fix center-alignment of border/preview label 9 months ago
LICENSE 0.36.0 1 year ago
ansi.go Respect ANSI codes to reset properties 9 months ago
ansi_test.go Update ANSI test cases 2 years ago
cache.go Consolidate Result and rank structs 7 years ago
cache_test.go Check gofmt in `make test` 3 years ago
chunklist.go Experimental implementation of "reload" action 5 years ago
chunklist_test.go Remove count field from ChunkList 7 years ago
constants.go Remove unnecessary escaping in the default command 8 months ago
core.go Fix bug where preview is not updated after reload when --disabled is set 1 year ago
history.go Fix deprecations of ioutil (#3370) 11 months ago
history_test.go Fix deprecations of ioutil (#3370) 11 months ago
item.go Remove special nilItem 7 years ago
item_test.go Micro-optimizations 8 years ago
matcher.go Fix bug where preview is not updated after reload when --disabled is set 1 year ago
merger.go Fix bug where preview is not updated after reload when --disabled is set 1 year ago
merger_test.go Update test case 1 year ago
options.go Add --listen-unsafe=ADDR to allow remote process execution (#3498) 7 months ago
options_test.go Fix deprecations of ioutil (#3370) 11 months ago
pattern.go Fix incorrect ordering of `--tiebreak=chunk` 2 years ago
pattern_test.go Fix incorrect ordering of `--tiebreak=chunk` 2 years ago
reader.go Use $SHELL instead of bash if it's known to support 'pipefail' 11 months ago
reader_test.go Change the tests to run on Windows (#2615) 3 years ago
result.go Fix panic on inverse match query with `--tiebreak=chunk` 2 years ago
result_others.go Modernize build tags 2 years ago
result_test.go Add new tiebreak: 'chunk' 2 years ago
result_x86.go Modernize build tags 2 years ago
server.go Add --listen-unsafe=ADDR to allow remote process execution (#3498) 7 months ago
terminal.go (Experimental) Add support for iTerm2 inline image protocol 7 months ago
terminal_test.go Reformat comments adhere to gofmt 2 years ago
terminal_unix.go Fix CTRL-Z handling: Signal SIGSTOP to PGID 7 months ago
terminal_windows.go Modernize build tags 2 years ago
tokenizer.go Fix delimiter regex to properly support caret (^) 2 years ago
tokenizer_test.go Code cleanup: remove unnecessary string conversions (#1642) 5 years ago