mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 15:31:28 +00:00
Flush stdout in swaymsg when in subscribe mode
This commit is contained in:
parent
264e213c08
commit
2578669de7
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue