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

Issues with VT / ANSI color codes, especially on Windows/Ubuntu #2

Open
5 of 8 tasks
lenaschimmel opened this issue Mar 14, 2022 · 1 comment
Open
5 of 8 tasks

Comments

@lenaschimmel
Copy link
Owner

lenaschimmel commented Mar 14, 2022

A lot of sub-issues:

  • hard to get it working on Windows
  • color bar of the last genome region (after N) extends to the end of line
  • sequence names are displayed black on black, thus invisible
  • unimportant stuff has much too much contrast, at least on Ubuntu (bright white)
  • need more unique colors when using --force-all-parents together with --clades all (at least 17 instead of currently 6)
  • Default colors for 2-parent-recombinants are red and green, making it unusable for users with red–green color blindness (up to 8% of users with a single X chromosome)
@lenaschimmel lenaschimmel changed the title Issues with VT / ANSI color codes, especially on Windows Issues with VT / ANSI color codes, especially on Windows/Ubuntu Mar 14, 2022
@lenaschimmel
Copy link
Owner Author

OMG, it's hard or even impossible to choose a color schema which:

  • does not rely on distinguishing red/green for the most common comparison
  • uses only the six (!) existing actual colors (not counting black, white and grey)
  • works on black and on white backgrounds
  • works with the different way that terminals interpret the colors:

https://i.stack.imgur.com/9UVnC.png

Possible ways out of it:

  • use 8 bit colors, which are not supported by all terminals which support color at all
  • use 24 bit colos which are supported by even less terminals
  • make user-selectable color schemes
  • tell users to use a specific background color
  • tell users to use a specific terminal
  • set background color from the script
  • switch from terminal to a proper native GUI or web interface
  • just ignore it and accept that it won't be nice

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant