From 91beacf0f4966e0e5ddbcdedae008d8a66f93ab9 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 1 Oct 2025 23:47:09 +0900 Subject: Add special 'strip' style attribute for stripping colors Test cases: fd --color always | fzf --ansi --delimiter / fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim,nth:regular fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim:strip,nth:regular fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim:strip,nth:regular --raw fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim:strip,nth:regular,hidden:strikethrough --raw fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim:strip,nth:regular,hidden:strip:strikethrough --raw fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim:strip,nth:regular,hidden:strip:dim:strikethrough --raw --- man/man1/fzf.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index ffd47f12..4be02c97 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -325,7 +325,8 @@ color mappings. Each entry is separated by a comma and/or whitespaces. \fB#rrggbb \fR24-bit colors .B ANSI ATTRIBUTES: (Only applies to foreground colors) - \fBregular \fRClears previously set attributes; should precede the other ones + \fBregular \fRClear previously set attributes; should precede the other ones + \fBstrip \fRRemove colors \fBbold\fR \fBunderline\fR \fBreverse\fR -- cgit v1.2.3