summaryrefslogtreecommitdiffstats
path: root/swaymsg
diff options
context:
space:
mode:
authorLibravatar Christoph Gysin <christoph.gysin@gmail.com>2015-12-02 22:40:50 +0200
committerLibravatar Christoph Gysin <christoph.gysin@gmail.com>2015-12-02 22:41:10 +0200
commit88368362dfec1ce5e58b8b5b004b693e5a255307 (patch)
tree506616f1c45b6d2720d8a4225b7b51065452bfe5 /swaymsg
parentMerge pull request #291 from christophgysin/libs (diff)
downloadsway-88368362dfec1ce5e58b8b5b004b693e5a255307.tar.gz
sway-88368362dfec1ce5e58b8b5b004b693e5a255307.tar.zst
sway-88368362dfec1ce5e58b8b5b004b693e5a255307.zip
swaymsg: add newline after response
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c2
1 files changed, 1 insertions, 1 deletions
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) {
111 uint32_t len = strlen(command); 111 uint32_t len = strlen(command);
112 char *resp = ipc_single_command(socketfd, type, command, &len); 112 char *resp = ipc_single_command(socketfd, type, command, &len);
113 if (!quiet) { 113 if (!quiet) {
114 printf("%s", resp); 114 printf("%s\n", resp);
115 } 115 }
116 close(socketfd); 116 close(socketfd);
117 117