[Bug]: New Terminal Logger Prints Progress Poorly Formatted in Some Terminals #9950
Labels
Area: Terminal Logger
Problems with the livelogger/fancylogger/terminallogger -tl functionality.
bug
Priority:2
Work that is important, but not critical for the release
triaged
Issue Description
The newest version of .NET 9 implements a new console logger, which displays build status in a more "real-time" format by overwriting the progress line. This looks great, however, it does not work properly in some specific terminals, like for example the Emacs Terminal (not Emacs Shell).
Steps to Reproduce
In the terminals that don't like the new logger, building any dotnet app reproduces the issue. I'm using this command for mine:
dotnet build -c Release -o out
It is worth mentioning that we can get around this issue by passing the flag
-tl:false
to the dotnet command.Expected Behavior
Displays only one line of progress in a clean format:
Actual Behavior
In said terminals, the carriage return seems to be getting messed up and the output looks like this:
Analysis
No response
Versions & Configurations
This is my dotnet installation (output of
dotnet --info
):The text was updated successfully, but these errors were encountered: