Skip to content

Use libtinfo in libeinfo to check for color terminals #1066

Description

@ChickenChunk579

Currently libeinfo checks against a static list of color terminals. This approach requires new color terminals to be added to the list resulting in maintainer burden.

To address this, my proposal is to statically link libtinfo, to make it available early in boot, and using it to check for a color terminal at runtime. Additionally, for distros like Alpine, a build flag could be added to enable or disable the usage of libtinfo.

I would be happy to submit a PR for this if the maintainers are open to the approach.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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