It would be nice, if it were possible to center output with format. I suggest to use a '=' flag for that, similar to the '-' flag.
@berni44 created dlang/phobos pull request #8010 "Fix Issue 21858 - std.format: centering output" fixing this issue: - Fix Issue 21858 - std.format: centering output https://github.com/dlang/phobos/pull/8010
dlang/phobos pull request #8010 "Fix Issue 21858 - std.format: centering output" was merged into master: - 28b592de84d212cc0660b759b0d287605024a067 by berni44: Fix Issue 21858 - std.format: centering output https://github.com/dlang/phobos/pull/8010