aboutsummaryrefslogtreecommitdiff
path: root/swaymsg/main.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-12-02 16:08:31 -0500
committerDrew DeVault <sir@cmpwn.com>2015-12-02 16:08:31 -0500
commit9397091dab06a0f1c5fc7e963e724c17ab802460 (patch)
treeb5ec8b4d39ea6f1845d90cb538a19a0c16fa3e36 /swaymsg/main.c
parent2b41d26b63fac8fd10b8c58e739addb7dfc98080 (diff)
parent88368362dfec1ce5e58b8b5b004b693e5a255307 (diff)
Merge pull request #293 from christophgysin/response
swaymsg: add newline after response
Diffstat (limited to 'swaymsg/main.c')
-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) {
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);