cc <@U06RMLQGNGM> I'm reworking the new CLI and f...
# proj-agent-canvas
q
cc @breezy-kilobyte-39430 I'm reworking the new CLI and face the following problems • terminal background color is a user choice we can't enforce it • the standard yellow color that we use for openhands branding doesn't do well with light theme Any suggestions on alternate color scheme to get around this?
b
I've actually been thinking about this and wondering if we can change colors based on detecting if the background is white/black? Because yellow is used other places. If not we should test all colors on white/black to ensure legibility.
q
I think detecting the terminal background can be tough
b
So default text auto converts to black or white, any text with a specified color does not?
q
Yepp I believe so
w
what kind of sicko uses a white terminal background lolsob we could probably have an env var like OPENHANDS_CLI_LIGHT_MODE for these folks
p
Can try setting the background color for each line with
\e[4<color_code>m
short-term fix: make that black, and OpenHands should pop in yellow to stay on brand
w
I'm less concerned with the OpenHands and more with the actual text folks need to read 😅
Do we know how Claude Code solves this? Or other CLIs?