Flush stdout in swaymsg when in subscribe mode

This commit is contained in:
Flakebi 2019-03-16 17:20:54 +01:00 committed by Brian Ashworth
parent 264e213c08
commit 2578669de7
1 changed files with 1 additions and 0 deletions

View File

@ -493,6 +493,7 @@ int main(int argc, char **argv) {
printf("%s\n", json_object_to_json_string_ext(obj, printf("%s\n", json_object_to_json_string_ext(obj,
JSON_C_TO_STRING_PRETTY | JSON_C_TO_STRING_SPACED)); JSON_C_TO_STRING_PRETTY | JSON_C_TO_STRING_SPACED));
} }
fflush(stdout);
json_object_put(obj); json_object_put(obj);
} }