mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-07-16 06:14:57 +02:00
Minor: flush stdout on error
This commit is contained in:
@ -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, ...)
|
||||
|
Reference in New Issue
Block a user