aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c1
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);
}