Skip to content

--color does not work under Emacs #182

@xuchunyang

Description

@xuchunyang

I'm using rg 0.2.1 and Emacs 25. It looks like --color doesn't have effect under Emacs, while other tools such as grep works.

  • M-! echo hello | grep --color=always hello gives [01;31m�[Khello�[m�[K
  • M-! echo hello | rg --color=always hello gives hello (where is the escape code?)

see also emacs-helm/helm#1624 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions