Replies: 3 comments 4 replies
-
I assume so, Helix uses Crossterm for cross platform terminal support, if the terminal supports 24bit color I don't see why not using RGB. Here is the API: https://docs.rs/crossterm/latest/crossterm/style/enum.Color.html#variant.Rgb
Run this to check your terminal: awk 'BEGIN{
s="/\\/\\/\\/\\/\\"; s=s s s s s s s s;
for (colnum = 0; colnum<77; colnum++) {
r = 255-(colnum*255/76);
g = (colnum*510/76);
b = (colnum*255/76);
if (g>255) g = 510-g;
printf "\033[48;2;%d;%d;%dm\033[38;2;%d;%d;%dm%s\033[0m", r,g,b, r,g,b, substr(s,colnum+1,1);
}
printf "\n";
}' |
Beta Was this translation helpful? Give feedback.
2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
This is being worked on in #12308 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Emacs has this cute little feature:
Does it sound feasible for Helix?
Beta Was this translation helpful? Give feedback.
All reactions