summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-12-02 16:08:31 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-12-02 16:08:31 -0500
commit9397091dab06a0f1c5fc7e963e724c17ab802460 (patch)
treeb5ec8b4d39ea6f1845d90cb538a19a0c16fa3e36
parentMerge pull request #294 from christophgysin/match (diff)
parentswaymsg: add newline after response (diff)
downloadsway-9397091dab06a0f1c5fc7e963e724c17ab802460.tar.gz
sway-9397091dab06a0f1c5fc7e963e724c17ab802460.tar.zst
sway-9397091dab06a0f1c5fc7e963e724c17ab802460.zip
Merge pull request #293 from christophgysin/response
swaymsg: add newline after response
-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