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 support for underline colors #1933

Merged
merged 1 commit into from
Mar 15, 2025

Conversation

joelim-work
Copy link
Collaborator

@joelim-work joelim-work commented Mar 15, 2025

Add support for underline colors via SGR code 58.


Examples (red foreground with green underline):

256 color palette:

set promptfmt "\033[31;4;58;5;2m%d%f"

RGB:

set promptfmt "\033[31;4;58;2;0;255;0m%d%f"

@joelim-work joelim-work added the new Pull requests that add new behavior label Mar 15, 2025
@joelim-work joelim-work added this to the r35 milestone Mar 15, 2025
@joelim-work joelim-work merged commit 9b1f838 into gokcehan:master Mar 15, 2025
4 checks passed
@joelim-work joelim-work deleted the underline-color branch March 15, 2025 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new Pull requests that add new behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant