From ccd5ecd04700586b66f68753c8a3bf2f1e19aa39 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Fri, 24 Nov 2006 21:18:47 +0000 Subject: Pretty colours :) --- hardinfo2/report.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hardinfo2/report.c') diff --git a/hardinfo2/report.c b/hardinfo2/report.c index a5885b26..3752df46 100644 --- a/hardinfo2/report.c +++ b/hardinfo2/report.c @@ -307,7 +307,7 @@ report_create_inner_from_module_list(ReportContext *ctx, GSList *modules) GSList *entries; if (!params.gui_running) - fprintf(stderr, "%s\n", module->name); + fprintf(stderr, "\033[40;32m%s\033[0m\n", module->name); report_title(ctx, module->name); @@ -315,7 +315,7 @@ report_create_inner_from_module_list(ReportContext *ctx, GSList *modules) ShellModuleEntry *entry = (ShellModuleEntry *) entries->data; if (!params.gui_running) - fprintf(stderr, " * %s\n", entry->name); + fprintf(stderr, "\033[2K\033[40;32;1m %s\033[0m\n", entry->name); ctx->entry = entry; report_subtitle(ctx, entry->name); -- cgit v1.2.3