Use \e escape sequence

Proprietary

Replace \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.UseEscapeSequenceE
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.UseEscapeSequenceE

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.