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

add palette vga, mimicking linux VT #38

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Conversation

grepsuzette
Copy link
Contributor

Even though the man page says not to use palettes,
I propose to add a new one, the vga palette from
https://en.wikipedia.org/wiki/ANSI_escape_code

the default color for foreground is very bright
(https://github.com/Aetf/ksmcon/issues/74) and using the
VGA palette would be consistent with Linux VT,
easing the adoption of kmscon for new users.

This PR only changes tsm-vte.c:

  • added color_palette_vga
  • renamed color_palette to color_palette_legacy
  • default palette is still color_palette_legacy, but it can probably be changed to color_palette_vga.

Let me know if you have any questions or remarks.

Copy link
Owner

@Aetf Aetf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I think this makes sense. Thanks!

@Aetf Aetf merged commit 00978b5 into Aetf:develop Dec 22, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants