Emit dedicated bright terminal color codes if supported
[babeltrace.git] / src / common / assert.c
index 1cc1dbaa2e5f9a9bfe520ad60afd569885672da1..99080f7ba208f21f2299563a3019d25e578114f3 100644 (file)
@@ -30,14 +30,14 @@ void bt_common_assert_failed(const char *file, int line, const char *func,
 {
        fprintf(stderr,
                "%s\n%s%s%s (╯°□°)╯︵ ┻━┻ %s %s%s%s%s:%s%d%s: %s%s()%s: "
-               "%sAssertion %s`%s`%s%s failed.%s\n",
+               "%sAssertion %s%s`%s`%s%s failed.%s\n",
                bt_common_color_reset(),
                bt_common_color_bold(),
                bt_common_color_bg_yellow(),
-               bt_common_color_fg_red(),
+               bt_common_color_fg_bright_red(),
                bt_common_color_reset(),
                bt_common_color_bold(),
-               bt_common_color_fg_magenta(),
+               bt_common_color_fg_bright_magenta(),
                file,
                bt_common_color_reset(),
                bt_common_color_fg_green(),
@@ -48,6 +48,7 @@ void bt_common_assert_failed(const char *file, int line, const char *func,
                bt_common_color_reset(),
                bt_common_color_fg_red(),
                bt_common_color_bold(),
+               bt_common_color_fg_bright_red(),
                assertion,
                bt_common_color_reset(),
                bt_common_color_fg_red(),
This page took 0.024895 seconds and 4 git commands to generate.