From 2578669de76c6d4b2038a648d1cfcd3c7e9e320a Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sat, 16 Mar 2019 17:20:54 +0100 Subject: Flush stdout in swaymsg when in subscribe mode --- swaymsg/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/swaymsg/main.c b/swaymsg/main.c index a0ef7e3d..65cc4bbb 100644 --- a/swaymsg/main.c +++ b/swaymsg/main.c @@ -493,6 +493,7 @@ int main(int argc, char **argv) { printf("%s\n", json_object_to_json_string_ext(obj, JSON_C_TO_STRING_PRETTY | JSON_C_TO_STRING_SPACED)); } + fflush(stdout); json_object_put(obj); } -- cgit v1.2.3