diff options
author | Flakebi <flakebi@t-online.de> | 2019-03-16 17:20:54 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-03-16 12:32:09 -0400 |
commit | 2578669de76c6d4b2038a648d1cfcd3c7e9e320a (patch) | |
tree | 803b0283c47aa3478d8265c6f40d6cda08cbe160 /swaymsg | |
parent | 264e213c08bf1e184f7e540ae841996292ed16bd (diff) |
Flush stdout in swaymsg when in subscribe mode
Diffstat (limited to 'swaymsg')
-rw-r--r-- | swaymsg/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |