From 45df212d6614ad7f57d9e53616c0faac00195c86 Mon Sep 17 00:00:00 2001 From: acheronfail Date: Fri, 9 Sep 2022 14:45:49 +0930 Subject: pactl: SUBSCRIBE add a newline after every json message Part-of: --- src/utils/pactl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/pactl.c b/src/utils/pactl.c index 2761ebaaf..9e343954f 100644 --- a/src/utils/pactl.c +++ b/src/utils/pactl.c @@ -2200,7 +2200,7 @@ static void context_subscribe_callback(pa_context *c, pa_subscription_event_type pa_json_encoder_end_object(encoder); char* json_str = pa_json_encoder_to_string_free(encoder); - printf("%s", json_str); + printf("%s\n", json_str); pa_xfree(json_str); } else { printf(_("Event '%s' on %s #%u\n"), -- cgit v1.2.1