The behavior of adding the trailing new line is a bit problematic.
Remove the extra line, except for when an interrupt is triggered.
status = F_status_set_error(F_parameter);
}
- // Ensure a new line is always put at the end of the program execution, unless in quiet mode.
+ // Ensure a new line is always put at the end of the program execution on interrupt, unless in quiet mode.
if (main->output.verbosity != f_console_verbosity_quiet_e) {
if (F_status_set_fine(status) == F_interrupt) {
fflush(main->output.to.stream);
- }
- fll_print_dynamic_raw(f_string_eol_s, main->output.to.stream);
+ fll_print_dynamic_raw(f_string_eol_s, main->output.to.stream);
+ }
}
iki_read_data_delete(&data);