mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-29 09:06:02 +00:00
Add --strip-ansi=auto option
When using `auto`, escape sequences will be stripped unless printing plain text.
This commit is contained in:
6 files changed
+107
-18
No files matched your search
@@ -154,6 +154,7 @@ pub enum StripAnsiMode {
|
||||
#[default]
|
||||
Never,
|
||||
Always,
|
||||
Auto,
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user