Skip to content
Discussion options

You must be logged in to vote

I think I prematurely converted this into a discussion, but we use COLORTERM which needs to be set to either truecolor or 24bit:

#[cfg(not(windows))]
fn true_color() -> bool {
std::env::var("COLORTERM")
.map(|v| matches!(v.as_str(), "truecolor" | "24bit"))
.unwrap_or(false)
}

You can set editor.true-color = true in your config to force it for now

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lescx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
2 participants
Converted from issue

This discussion was converted from issue #9564 on February 08, 2024 02:05.