fix(cli): flush stdout on each new notification

This commit is contained in:
Aylur
2024-05-22 00:07:27 +02:00
parent cf9125cf31
commit 297126f9c8
+1
View File
@@ -69,6 +69,7 @@ int main(string[] argv) {
if (daemonize) {
notifd.notified.connect((id) => {
stdout.printf("%s\n", notifd.get_notification_json(id));
stdout.flush();
});
}