Use \e escape sequence
ProprietaryReplace \u001b and \x1b escape sequences with \e. C# 13 introduced \e as a dedicated escape sequence for the escape character (U+001B).
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net9. UseEscapeSequenceEmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net9. UseEscapeSequenceEInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.