Skip to content

add default fg and bg colors#264

Open
0xf0xx0 wants to merge 2 commits into
fatih:mainfrom
0xf0xx0:default-colors
Open

add default fg and bg colors#264
0xf0xx0 wants to merge 2 commits into
fatih:mainfrom
0xf0xx0:default-colors

Conversation

@0xf0xx0

@0xf0xx0 0xf0xx0 commented Aug 18, 2025

Copy link
Copy Markdown

adds the ansi codes for default fg/bg to the exported names as FgDefault and BgDefault
also throws FgDefault into TestColor

@fatih

fatih commented Mar 20, 2026

Copy link
Copy Markdown
Owner

Hi @0xf0xx0 Can you share the spec or doc that shows these defaults?

@0xf0xx0

0xf0xx0 commented Mar 20, 2026

Copy link
Copy Markdown
Author

https://www.man7.org/linux/man-pages/man4/console_codes.4.html
see codes 39 and 49 under "ECMA-48 Select Graphic Rendition"

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.

2 participants