diff --git a/swaymsg/main.c b/swaymsg/main.c index f8c9e14c2..dac84a9b2 100644 --- a/swaymsg/main.c +++ b/swaymsg/main.c @@ -111,7 +111,7 @@ int main(int argc, char **argv) { uint32_t len = strlen(command); char *resp = ipc_single_command(socketfd, type, command, &len); if (!quiet) { - printf("%s", resp); + printf("%s\n", resp); } close(socketfd);