Skip to content
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

iTerm colors issues #36

Open
WladyX opened this issue Jul 18, 2022 · 4 comments
Open

iTerm colors issues #36

WladyX opened this issue Jul 18, 2022 · 4 comments
Labels
bug Something isn't working platform: macos Issue related to macOS

Comments

@WladyX
Copy link

WladyX commented Jul 18, 2022

I have a color issue in iTerm, tried different settings/profiles, could not get it work, on the default terminal macos app it works ok, so it's something related to iterm or my settings, do you have any suggestions?
Thank you for this great tool!
image

@WladyX WladyX added the bug Something isn't working label Jul 18, 2022
@Bhupesh-V
Copy link
Owner

Hey @WladyX thanks a lot for reporting this issue
It looks like your iterm configuration is not supporting 256-color format. Ugit requires your terminal type to be xterm-256color. I am not sure how to do this for iterm, but you can refer iterm2' FAQ and look for How do I get 256 color mode working in vim?

for testing try running the following command, echo $(tput bold)$(tput setaf 208)Bold orange$(tput sgr0)

y

@WladyX
Copy link
Author

WladyX commented Jul 19, 2022

Thank you @Bhupesh-V for getting back to me.
My iTerm is set to 256-colors, and your snippet looks just like in your screenshot, so that code looks as expected, but ugit does not. Any other ideeas? :)

Later edit:
I've installed a fresh MacOS VM and tried there with a fresh iterm profile/install.
All worked as expected, but when i upgraded to the beta version (which i currently run on my laptop) then it broke the colors. So the colors break on the beta iTerm version.

@Bhupesh-V
Copy link
Owner

Bhupesh-V commented Jul 24, 2022

Thank you @Bhupesh-V for getting back to me. My iTerm is set to 256-colors, and your snippet looks just like in your screenshot, so that code looks as expected, but ugit does not. Any other ideeas? :)

Later edit: I've installed a fresh MacOS VM and tried there with a fresh iterm profile/install. All worked as expected, but when i upgraded to the beta version (which i currently run on my laptop) then it broke the colors. So the colors break on the beta iTerm version.

Hey just to be on same page, we are talking about iterm2 beta here right?

@WladyX
Copy link
Author

WladyX commented Jul 24, 2022

Yes, iterm2 beta does not show the colors.

@Bhupesh-V Bhupesh-V added the platform: macos Issue related to macOS label Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform: macos Issue related to macOS
Projects
None yet
Development

No branches or pull requests

2 participants