Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My terminal emulator (mobaxterm) supports truecolor, but supports-color doesn't detect it #147

Closed
macau23 opened this issue May 29, 2023 · 4 comments

Comments

@macau23
Copy link

macau23 commented May 29, 2023

How can I give you the information you need so that supports-color can correctly identify mobaxterm as supporting trucolor?

Related to dominikwilkowski/cfonts#68

Currently I am working around it with COLORTERM=truecolor

@sindresorhus
Copy link
Member

You must find out whether it exposes any environment variable we can use to detect such color support, or at minimum, we need an environment variable with the name of the terminal.

@macau23
Copy link
Author

macau23 commented Jun 5, 2023

I can see no environment variable that exposes anything unique about my terminal emulator. Is there another way to detect it?

@Qix-
Copy link
Member

Qix- commented Jun 5, 2023

Unfortunately not. Maybe supply the value of TERM?

The only workarounds otherwise are:

  1. Continue setting COLORTERM in your shelll profile
  2. Open a ticket with the emulator author(s) asking to expose some emulator-specific variable we can switch on.

Beyond that unfortunately TTYs are so archaic that there's not much else we can do :/

@macau23
Copy link
Author

macau23 commented Jun 7, 2023

TERM is not mobaxterm, but xterm :(

I will use COLORTERM. Thanks!

@macau23 macau23 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants