Combined emphases into a single escape sequence (#4528)

This commit is contained in:
Anas
2025-09-05 17:50:56 +01:00
committed by GitHub
parent 053d262944
commit 0a94e06750
2 changed files with 7 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ TEST(color_test, format) {
fmt::emphasis::underline | fmt::emphasis::blink |
fmt::emphasis::reverse | fmt::emphasis::conceal |
fmt::emphasis::strikethrough)),
"\x1b[1m\x1b[2m\x1b[3m\x1b[4m\x1b[5m\x1b[7m\x1b[8m\x1b[9mall\x1b[0m");
"\x1b[1;2;3;4;5;7;8;9mall\x1b[0m");
}
TEST(color_test, format_to) {