Skip to content

Escape Sequences get partially stripped #182

@h4emp3

Description

@h4emp3

Command to reproduce: echo -e '\033[1;3mfoo\033[22m bar\033[23m baz' | bat.
Expected output: foo bar baz
Actual output: foo bar baz

Note that bar should be still italic, but it is not when piped through bat. I cannot reproduce this behaviour with other pagers (less, most) or any other shell utility for that matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions