Skip to content

selected-bg don't work if entry contain ansi escape code #4372

@phanen

Description

@phanen

Checklist

  • I have read through the manual page (man fzf)
  • I have searched through the existing issues
  • For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version

0.61.3 (d24b58e)

OS

  • Linux
  • macOS
  • Windows
  • Etc.

Shell

  • bash
  • zsh
  • fish

Problem / Steps to reproduce

LS_COLORS= fd --color=always |
 FZF_DEFAULT_OPTS_FILE= FZF_DEFAULT_OPTS= fzf --ansi --multi --color=selected-bg:#ff0000

highlighting seems not correct (but current-bg seems work as expected).
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions