Checklist
Output of fzf --version
0.67.0 (2ab923f)
OS
Shell
Problem / Steps to reproduce
I would like fzf --preview to support rendering colored and styled underlines, as supported by some newer terminal emulators and tools1. Here's an example:
echo -e 'normal\n\x1b[4munderline\x1b[0m\n\x1b[4:2;58:2:255:0:0mred double underline\x1b[0m'
Breaking it down, it will print the word "normal" with the regular style, the word "underline" with an underline, and the phrase "red double underline" with a red double underline, which looks like this (using Ghostty):
If I pass this to fzf --ansi (i.e. echo -e '...' | fzf --ansi), the lines "normal" and "underline" look fine, but the red double underline doesn't show up for the last one:
I'm really after supporting this with --preview, but it's easier for me to give an example with just fzf --ansi.
Checklist
man fzf)Output of
fzf --version0.67.0 (2ab923f)
OS
Shell
Problem / Steps to reproduce
I would like
fzf --previewto support rendering colored and styled underlines, as supported by some newer terminal emulators and tools1. Here's an example:Breaking it down, it will print the word "normal" with the regular style, the word "underline" with an underline, and the phrase "red double underline" with a red double underline, which looks like this (using Ghostty):
If I pass this to
fzf --ansi(i.e.echo -e '...' | fzf --ansi), the lines "normal" and "underline" look fine, but the red double underline doesn't show up for the last one:I'm really after supporting this with
--preview, but it's easier for me to give an example with justfzf --ansi.Footnotes
Ghostty, kitty, Alacritty, and tmux to name a few. ↩