svent / sift

A fast and powerful alternative to grep
https://sift-tool.org
GNU General Public License v3.0
1.6k stars 108 forks source link

Issue with color on windows platform #92

Open smcclosr opened 6 years ago

smcclosr commented 6 years ago

when executing the command with the --color option it will not change the colors but only add the following text to the output:

←[1;31;49m ←[0;39;49m

Lilly-Employee commented 4 years ago

--color still doesn't work in Windows for sift :( Works if called from MinGW or Cygwin (bash shell) on windows, just not natively. In a powershell window it also spits out the  

Lilly-Employee commented 4 years ago

However, with windows 10's Windows Terminal, it is working!! Currently a preview/beta. Using this terminal gulps even has grep using --color too. I will try using this terminal going forward. https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab