-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gtest's output has no color when running in kitty #3455
Comments
Thank you for reporting this. This isn't something we are likely to fix ourselves, but it can probably fixed with a simple PR. We would accept such a request. |
You're basically asking me to fix this myself, I have no idea what's going on, on this repo. |
Interesting, this probably has to do with the way kitty handles the output, because other terminals work fine, I tested on kitty and it's bugged for some reason. How to solve this is probably
idk seems mostly like kitty is probably bugged here. |
Hi,
And in such case to have colored output from gtest we have to use To have it working with
EDIT: Here is fragment of google test advanced manual (described by kovidgoyal/kitty#4400 (comment))
So i suppose that to fix issue with gtest there should be changed |
Similar issue with Alacritty. I wonder if better (non-standard) option is to depend on |
Describe the bug
when I compiled the test.cpp file with
g++ test.cpp -lgtest
, the output of that has no color when I ran it with./a.out
(on kitty) but it does have color when running in konsole. Kitty itself can show colors in the terminal. I tested with-fdiagnostics-color=always
too but I had no luck.Steps to reproduce the bug
compile the program.
run it in kitty.
What operating system and version are you using?
Latest Arch linux with
Linux 5.10.43-1-lts
What compiler and version are you using?
The text was updated successfully, but these errors were encountered: