diff options
author | 2015-12-02 16:08:31 -0500 | |
---|---|---|
committer | 2015-12-02 16:08:31 -0500 | |
commit | 9397091dab06a0f1c5fc7e963e724c17ab802460 (patch) | |
tree | b5ec8b4d39ea6f1845d90cb538a19a0c16fa3e36 /swaymsg | |
parent | Merge pull request #294 from christophgysin/match (diff) | |
parent | swaymsg: add newline after response (diff) | |
download | sway-9397091dab06a0f1c5fc7e963e724c17ab802460.tar.gz sway-9397091dab06a0f1c5fc7e963e724c17ab802460.tar.zst sway-9397091dab06a0f1c5fc7e963e724c17ab802460.zip |
Merge pull request #293 from christophgysin/response
swaymsg: add newline after response
Diffstat (limited to 'swaymsg')
-rw-r--r-- | swaymsg/main.c | 2 |
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 | ||