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

Use terminfo colors as defaults instead of hard-coded values #11

Open
foltik opened this issue Apr 24, 2022 · 1 comment
Open

Use terminfo colors as defaults instead of hard-coded values #11

foltik opened this issue Apr 24, 2022 · 1 comment

Comments

@foltik
Copy link

foltik commented Apr 24, 2022

Perhaps the man colors could default to the terminal's default colors using tput(1) as described in https://unix.stackexchange.com/a/147. I'd guess most users already have terminal colors configured elsewhere, so this would reduce the need for manual configuration. Users could still override these colors if needed.

Willing to submit a PR if you're open to it!

@miyl
Copy link

miyl commented Mar 6, 2024

Good suggestion! Feel very free to submit it to my fork:
https://github.com/miyl/fish-colored-man

I merged in the open PR to this repo to that fork as well.
I don't have any particular wishes to maintain it, though, so maybe submit it here too in case @decors sees it.

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

2 participants