Repository navigation
Replies: 2 comments
|
I believe only determining the default background and foreground color is possible via how Both can only be achieved before the app fully starts (as the stdout can't have other data flowing through it). I think the next problem is that I suspect there isn't enough detail in those query responses to tell us a ballpark tint. May poke this in the future. |
|
I didn't realize that the There's an app called https://web.archive.org/web/20170503214750/http://thrysoee.dk/xtermcontrol/ It was a bit confusing to me the sometimes the color came from my terminal color scheme and sometimes the developer was overriding the color, until I read... https://jeffkreeftmeijer.com/vim-16-color/ I'm sure you're familiar with this, but may be helpful for other people that come to learn more about terminal colors as they use
Also, not sure if you've seen |
Uh oh!
There was an error while loading. Please reload this page.
I noticed lipgloss has an adaptive color method to choose a light vs a dark color...
Is there a way we can gather enough color information about the users terminal to make an educated guess about which tint they have set as active (in their actual terminal settings)?
All reactions