-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
anstream currently has two modes: Printing all ANSI sequences, and stripping all ANSI sequences (StripStream). Would it be possible to add a third mode SanitizeStream, that allows color and similar text formatting streams, but strips potentially dangerous actions such as setting the terminal title?
This request is due to tokio-rs/tracing#3378, where tracing now allows either escaping ANSI (not stripping, leading to bad output with strange characters), or turning off this validation completely. Does this fit in the scope of anstyle?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels