commit 3cbe5027ed4f83281f3dfa71857374accf4f45f9
parent ca91e20f404e9a0bc95de2e8d04fdcd9415d6473
Author: Sweets <Sweets@users.noreply.github.com>
Date: Sun, 26 Apr 2020 18:30:52 -0700
Add: fflush() call, vital
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/format.c b/format.c
@@ -27,6 +27,7 @@ void output_notification(gchar *app_name, guint32 replaces_id, gchar *app_icon,
sprintf(string, "%s\n%d\n%s\n%s", string, timeout, summary, body);
printf("%s\n", string);
+ fflush(stdout);
free(string);
}