fzf.el icon indicating copy to clipboard operation
fzf.el copied to clipboard

Color support?

Open JohnC32 opened this issue 2 years ago • 1 comments

Thanks for the nice fzf integration in Emacs, it's quite nice. Though I think it would be nicer if it had colors. Reading the match characters would be easier with colors for me. fzf in a terminal with colors looks nice, so was thinking there should be a way to get colors in Emacs. I tried using the following, but that does not work?

    (defcustom fzf/args (concat
                         "-x "
                         "--color="
                         (if (eq (frame-parameter nil 'background-mode) 'light) "light" "dark")
                         " --print-query --margin=1,0 --no-hscroll")

Thanks!

JohnC32 avatar Feb 24 '23 20:02 JohnC32

term.el which fzf.el uses only supports a subset of the 16-bit colors. I created a pull-request to add colors.

JohnC32 avatar Apr 05 '23 13:04 JohnC32