From 76e7f76970cae96f7d6b5e4d7008c77d4fa7ff58 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Sat, 8 Jun 2024 15:34:58 +0800 Subject: [PATCH] Bold the prompt of checking cmd --- include/chsrc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/chsrc.h b/include/chsrc.h index 64c632c..0797b83 100644 --- a/include/chsrc.h +++ b/include/chsrc.h @@ -54,13 +54,13 @@ query_program_exist (char *check_cmd, char *prog_name) if (0 != ret) { // xy_warn (xy_strjoin(4, "× 命令 ", progname, " 不存在,", buf)); - xy_log_remarkably (App_Name, xy_str_to_red ("检查"), + xy_log_remarkably (App_Name, xy_str_to_bold (xy_str_to_red ("检查")), xy_strjoin (4, xy_str_to_red ("x "), "命令 ", xy_str_to_red (prog_name), " 不存在")); return false; } else { - xy_log_remarkably (App_Name, xy_str_to_green ("检查"), + xy_log_remarkably (App_Name, xy_str_to_bold (xy_str_to_green ("检查")), xy_strjoin (4, xy_str_to_green ("√ "), "命令 ", xy_str_to_green (prog_name), " 存在")); return true; }