Skip to content

Message is always printed as bold regardless of configuration #45

@abrindam

Description

@abrindam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions