Skip to content

Add support for underline colors - #1933

Merged
joelim-work merged 1 commit into
gokcehan:masterfrom
joelim-work:underline-color
Mar 15, 2025
Merged

joelim-work merged 1 commit into
gokcehan:masterfrom
joelim-work:underline-color

Conversation

@joelim-work

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

Copy link
Copy Markdown
Contributor

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
@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