#2568·bat

Problem with ANSI escape color codes on Kitty (Fedora 36 on Sway) and Centos 8 Stream.

Author: od-ceaCreated May 12, 2023Updated Aug 30, 2026

Similar problem for me on Kitty (Fedora 36 on Sway).

1mNAME0m
       ls - list directory contents

1mSYNOPSIS0m
       1mls 22m[4mOPTION24m]... [4mFILE24m]...

1mDESCRIPTION0m
       List  information about the FILEs (the current directory by default).  Sort entries alphabetically if none of 1m-cftuvSUX 22mnor 1m--sort 22mis
       specified.

Originally posted by @SaElAh in https://github.com/sharkdp/bat/issues/2479#issuecomment-1439959164