Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right justify in terminal logger (17.9 #9534

Merged
merged 5 commits into from
Dec 13, 2023

Conversation

rainersigwald
Copy link
Member

Backports #9053 to 17.9, which is where we had agreed to put it but I forgot to retarget the PR :-/

Instead of the rendered string, with its invisible control characters.
I wanted control over equality, and we don't need the auto-generated stuff.
Move cursor right (it stops at end of line), then back to justify the
output. This makes the localization less flexible since the formatting +
justification is handled in code, but makes it a lot easier to
understand. In the future reordering in translations would need to be
handled fairly carefully.

Avoid a bunch of overwrite problems by simplifiying the
should-we-do-a-fancy-overwrite decision to "is just time tick" or "just
overwrite it all".
@ghost
Copy link

ghost commented Dec 13, 2023

Hello! I noticed that you're targeting one of our servicing branches. Please consider updating the version.

@rainersigwald rainersigwald merged commit 16f6e5c into dotnet:vs17.9 Dec 13, 2023
8 checks passed
@rainersigwald rainersigwald deleted the right-justify branch December 13, 2023 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants