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

Message is always printed as bold regardless of configuration #45

Open
abrindam opened this issue Mar 12, 2021 · 0 comments
Open

Message is always printed as bold regardless of configuration #45

abrindam opened this issue Mar 12, 2021 · 0 comments

Comments

@abrindam
Copy link

To reproduce, setup your config file colors so that messages should not be printed as bold, for example:

colors:
    timestamp:
        fg: cyan
    message:        
        fg: white
        bold: false
    attributekey:
        faint: true
        fg: green
    attributevalue:
        faint: true
        fg: white

Expected behavior: the message field should not be printed bold
Actual behavior: it is printed bold

Note: The opposite, making other fields bold, works fine.

From a quick look, this appears to be caused by a bug in the underlying "mergo" library that is used to merge the default config and the user's config. Boolean values of false are not merged. See this issue: darccio/mergo#166

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

1 participant