From 88368362dfec1ce5e58b8b5b004b693e5a255307 Mon Sep 17 00:00:00 2001 From: Christoph Gysin Date: Wed, 2 Dec 2015 22:40:50 +0200 Subject: [PATCH] swaymsg: add newline after response --- swaymsg/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swaymsg/main.c b/swaymsg/main.c index f8c9e14c..dac84a9b 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);