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

Truecolor not working. #123

Closed
ghost opened this issue Nov 23, 2020 · 5 comments
Closed

Truecolor not working. #123

ghost opened this issue Nov 23, 2020 · 5 comments

Comments

@ghost
Copy link

ghost commented Nov 23, 2020

I use the amfora browser to navigate through gemini sites and it needs a terminal which supports truecolor to render the theme correctly. I heard st supports truecolor, so xst should support too. But it is not working.

Using the alacritty terminal i have the exactly colors i want, but it is not happening with xst.

Here is a picture: 1123-2

xst is on the left side of the screen, alacritty is on the right. Amfora is open on both. I defined the background on amfora to be the same as the terminal (dracula theme), but xst renders it as another color. This happens with terminals which don't support truecolor. It is what was happening to me with urxvt.

Is there any setting i need to put in the config file?

This happens with the kakoune text editor too.

@neeasade
Copy link
Member

neeasade commented Nov 23, 2020 via email

@ghost
Copy link
Author

ghost commented Nov 23, 2020

echo $TERM gives me xst-256color

It needs the st-terminfo installed? Void linux doesn't pull it as a dependency.

Found this file. Is this it? /usr/share/terminfo/x/xst.terminfo

@ghost
Copy link

ghost commented Apr 23, 2021

echo $TERM gives me xst-256color

It needs the st-terminfo installed? Void linux doesn't pull it as a dependency.

Found this file. Is this it? /usr/share/terminfo/x/xst.terminfo

I have that file on that directory, and true color is not consistent with st. I can't get nova colors to display correctly. The background color is brighter on xst than that is on st. Both are loading colors from .Xresources

@actionless
Copy link
Collaborator

actionless commented Apr 28, 2021

could you provide an actual testcase, like printf "%];];];smth", and screenshots how it works in st and how is broken here?

@neeasade
Copy link
Member

Confirmed truecolor working in st with a truecolor theme in terminal emacs (emacs didn't know of xst-256color, so I had to hint by eg COLORTERM=truecolor emacs -nw)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants