Add support for truecolor in kitty#137
Conversation
|
Can you link to some docs about this if possible? |
|
And you are sure it does not set any more common environment variable for this? For example |
|
cc @kovidgoyal 👋🏻 Does Kitty term indicate truecolor support using any of the already-supported variables? Or does it really define its own terminfo database entry as indicated by the PR? |
|
What already supported variables? It sets COLORTERM=truecolor. And has setrgbf and |
|
We don't check the terminfo database here, just environment variables. Good to know, thank you!!! @AprilArcus can you verify that |
|
( |
|
Fair enough. To work around this, you could also do |
|
I don't control |
|
God I hate SSH for this. Yeah @sindresorhus this is a rather annoying limitation of SSH. I 👍🏻 this PR. Can't believe we're still dealing with this issue in 2022 but here we are. |
|
|
You shouldn't rely on env vars for detection. Both sudo and ssh dont pass them through. I would recommend you turn on truecolor by default and only turn it off with a blacklist for the few terminals that dont support it based on TERM. In 2022 most terminals support it. @AprilArcus If you use the ssh kitten in kitty, it will pass COLORTERM through ssh magically even without needing to modify sshd_config |
No description provided.