-
Notifications
You must be signed in to change notification settings - Fork 6
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
colors not displayed with TERM=xterm #35
Comments
Thanks, I'm using Ubuntu 22.04.4 LTS and XTerm 393, without tmux/screen.
The other features all seem to work! |
Hmm, |
I managed to replicate this with
However, you mentioned that colors were working before in v0.3.0. I didn't manage to replicate that - colors were still not working for me with the default For the fix, I could add the following: if termenv.EnvColorProfile() == termenv.Ascii {
lipgloss.SetColorProfile(termenv.ANSI256)
} but I don't feel comfortable messing with the user's terminal configuration. Instead, I'll probably just add a note with the workaround above for Edit: Might be a good idea to implement this in the future, but the current workaround seems simple enough. |
I notice that
keyb
does not use any colors withTERM=xterm
, but it does work withTERM=xterm-color
.I usually just use
TERM=xterm
, can I forcekeyb
to use colors without changing my$TERM
?(Note: This used to work with v0.3, I just upgraded to v0.7 and lost colors)
The text was updated successfully, but these errors were encountered: