Skip to content

Color gets lost for underlying scripts #64

Description

@MartinHelmut

Description

Running a script through Litr that emits colored output will remove the color. Though, it should be preserved.

Reproduction

Configuration file:

[commands.test]
script = "printf 'Hello \033[0;31mWorld\033[0m\n'"

Run the following command:

litr test

Expectations

The word "World" should be red, but isn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA confirmed bug, something is not working.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions