commit 2578669de76c6d4b2038a648d1cfcd3c7e9e320a
parent 264e213c08bf1e184f7e540ae841996292ed16bd
Author: Flakebi <flakebi@t-online.de>
Date: Sat, 16 Mar 2019 17:20:54 +0100
Flush stdout in swaymsg when in subscribe mode
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);
}