mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-01-22 07:58:34 +01:00
Minor: flush stdout on error
This commit is contained in:
parent
8e3dbc40d7
commit
6a8c7d18bf
@ -10,6 +10,7 @@ void print_error(const char *error_msg)
|
||||
/* We print errors to stdout because lf file manager
|
||||
* doesn't print stderr in the preview window. */
|
||||
fprintf(stdout, "%s: %s\n", program, error_msg);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
void print_errorf(const char *format, ...)
|
||||
|
Loading…
Reference in New Issue
Block a user