From 3ba45c12390bc20f275056fa8f15cae8d95ec6e3 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 4 Apr 2021 17:49:58 -0500 Subject: [PATCH] Update: add message when done processing entry. --- level_3/controller/c/private-controller.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/level_3/controller/c/private-controller.c b/level_3/controller/c/private-controller.c index 8c69c00..6fb3bc1 100644 --- a/level_3/controller/c/private-controller.c +++ b/level_3/controller/c/private-controller.c @@ -1234,6 +1234,19 @@ extern "C" { return status; } + if (simulate) { + if (main.data->error.verbosity != f_console_verbosity_quiet) { + f_thread_mutex_lock(&main.thread->lock.print); + + fprintf(main.data->output.stream, "%c", f_string_eol_s[0]); + fprintf(main.data->output.stream, "Done processing entry item '"); + fprintf(main.data->output.stream, "%s%s%s", main.data->context.set.title.before->string, controller_string_main_s, main.data->context.set.title.after->string); + fprintf(main.data->output.stream, "'.%c", f_string_eol_s[0]); + + f_thread_mutex_unlock(&main.thread->lock.print); + } + } + if (F_status_is_error_not(status) && simulate) { f_thread_mutex_lock(&main.thread->lock.print); -- 1.8.3.1