mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-03 11:52:26 +01:00
Add --strip-ansi=auto
option
When using `auto`, escape sequences will be stripped unless printing plain text.
This commit is contained in:
@@ -154,6 +154,7 @@ pub enum StripAnsiMode {
|
||||
#[default]
|
||||
Never,
|
||||
Always,
|
||||
Auto,
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user