Skip to content

Strip ANSI color codes from the source command output but not from the preview command #2653

Answered by vovcacik
andreypopp asked this question in Q&A
Discussion options

You must be logged in to vote

None that I know of. Disable the colored output, or put some stripper in between, e.g. git status | stripansi | fzf. Program that passes STDIN to STDOUT with color codes stripped?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andreypopp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants